We continue to discuss data structures in R, this time focusing on arrays. An array is a generalization of a matrix with an arbitrary number of dimensions. We illustrate the structure with a three…
In this video we show how to use the OUTPUT statement to re-shape data. In particular, we convert a data set containing longitudinal data from "wide format" to "tall format" using…