permute {gregmisc} | 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 gregory_r_warnes@groton.pfizer.com
x <- 1:10 permute(x)