powered by
Randomly Permute the elements of a vector
permute(x)
Vector with the original items reordered.
Vector of items to be permuted
Gregory R. Warnes greg@warnes.net
This is simply a wrapper function for sample.
sample
x <- 1:10 permute(x)
Run the code above in your browser using DataLab