powered by
Restore an array from its matricization with all the frontal slices of the array next to each other (mode="A")
toArray(x, n, m, r, mode = c("A", "B", "C"))
Matrix (or data.frame coerced to a matrix) containing the elements of the frontal slices of an array
number of A-mode elements
number of B-mode elements
number of C-mode elements
in which mode is the matricized array
Three way array
H.A.L. Kiers (2000). Towards a standardized notation and terminology in multiway analysis. Journal of Chemometrics, 14: 105--122.
# NOT RUN { data(elind) di <- dim(elind) toArray(unfold(elind), di[1], di[2], di[3]) # }
Run the code above in your browser using DataLab