Randomly Permute the Elements of a Vector

Description

Randomly Permute the elements of a vector

Usage

1

Arguments

x

Vector of items to be permuted

Details

This is simply a wrapper function for sample.

Value

Vector with the original items reordered.

Author(s)

Gregory R. Warnes greg@warnes.net

See Also

sample

Examples

1
2
  x <- 1:10
  permute(x)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.