Description Usage Arguments Details Author(s) Examples
Creates a k random permutation of a vector.
1 | Permutate(x, k)
|
x |
a vector to be permutated. |
k |
number of permutations to be conducted. |
should be used only for length(input)! >> k
Daniel Marcelino, dmarcelino@live.com.
1 2 3 | # 5! = 5 x 4 x 3 x 2 x 1 = 120
# row wise permutations
Permutate(x=1:5, k=5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.