Description Usage Arguments Value See Also
View source: R/array_transform.R
array2mat
reshapes an array to a matrix
1 |
dat |
an array to reshape |
row_dim |
name or index of dimension which should be the row dimension of the returned matrix |
return_attributes |
logical value; if TRUE (default), the attributes of the array is saved as an additional attribute ("array_atributes") of the returned matrix including the row_dim parameter |
keep_dimnames |
logical value; if TRUE (default), the function not only reshapes the array but retains the dimension names separated by "|" |
A matrix
mat2array
which is the inverse of array2mat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.