perm_dim {contingency} | R Documentation |
Permute indices for variable k
Description
Currently only works for binary dimensions.
Usage
perm_dim(x, k, perm, ...)
Arguments
x |
array or related object |
k |
index to permute |
perm |
permutation to perform |
... |
other arguments (not currently used) |
Details
Permutes the levels of one variable
according to the permutation given in perm
.
Can be applied to matrices, arrays or tables.
Value
A permuted array
or tables
object.
[Package contingency version 0.0.10 Index]