perm_dim | R Documentation |
k
Currently only works for binary dimensions.
perm_dim(x, k, perm, ...)
x |
array or related object |
k |
index to permute |
perm |
permutation to perform |
... |
other arguments (not currently used) |
Permutes the levels of one variable
according to the permutation given in perm
.
Can be applied to matrices, arrays or tables.
A permuted array
or tables
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.