unfold | R Documentation |
Performing tensor unfolding, also known as matricization
unfold(ten, k)
ten |
A multi-dimensional array |
k |
An integer specifying the mode of array to unfold |
A matrix
unfold(array(1:24, dim=c(3,4,2)), 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.