This methods applies permutations column-wise on the coe of any
Coe object but relies on a function that can be used on any matrix.
For a Coe object, it uses sample on every column (or row) with (or without)
replacement.
Usage
perm(x, ...)
"perm"(x, margin = 2, size, replace = TRUE, ...)
"perm"(x, size, replace = TRUE, ...)
Arguments
x
the object to permute
...
useless here
margin
numeric whether 1 or 2 (rows or columns)
size
numeric the required size for the final object, same size by default.