Description Usage Arguments Value
Produces a permutation of integers 1:length(vec) such that the permutation leaves vec unchanged, i.e., the permutations are within class labes defined by vec.
1 |
vec |
Vector defining the permutations |
replace |
Should the sampling be with or without replacement. Default is FALSE. |
A permutation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.