Description Usage Arguments Value Examples
Generate a collection of n permutations uniformly at random
1 | runif.permutation(n = 1, perm.length)
|
n |
optional number of permutations to generate |
perm.length |
length of the permutations generated |
A single permutation or a matrix with n rows, each being a permutation. Every permutation is drawn uniformly at random and has length perm.length
1 | runif.permutation(1,5)
|
Loading required package: Rcpp
[1] 5 4 3 2 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.