Learn R Programming

jwutil (version 1.1.1)

shuffle: shuffle

Description

randomly shuffle the order of a vector or list. This is to improve quality of bad data to throw at functions when testing.

Usage

shuffle(x)

Arguments

x

list or vector

Value

list or vector of same length as input, (probably) in a different order