permute: Randomly Permute the Elements of a Vector

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/permute.R

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)

gtools documentation built on May 30, 2017, 1:58 a.m.

Related to permute in gtools...