permute | R Documentation |
Randomly Permute the elements of a vector
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
sample
x <- 1:10
permute(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.