Description Usage Arguments Details Value See Also Examples
Convert a vector into an array given a set of dimensions; it therefore simply wraps aperm
and array
.
1 |
vec |
a vector |
dim |
the desired array dimensions, oftentimes a vector of the number of levels of each variable in order |
This function converts an array (or a multi-way contingency table) into a vector, using a consistent ordering of the cells. The ordering of the cells is lexicographical and cannot be specified by the user.
an array
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.