shuffle {jwutil} | R Documentation |
Randomly shuffle the order of a vector or list. This is to improve quality of bad data to throw at functions when testing.
shuffle(x)
x |
list or vector |
list or vector of same length as input, (probably) in a different order
set.seed(1441) shuffle(LETTERS)