Description Usage Arguments Details Value Author(s) See Also Examples
Randomly Permute the elements of a vector
1 | permute(x)
|
x |
Vector of items to be permuted |
This is simply a wrapper function for sample
.
Vector with the original items reordered.
Gregory R. Warnes greg@warnes.net
1 2 | x <- 1:10
permute(x)
|
[1] 6 2 8 1 7 3 4 10 5 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.