shuffle: Shuffle a vector

Description Usage Arguments Value Examples

View source: R/util.r

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

1

Arguments

x

list or vector

Value

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

Examples

1
2

jwutil documentation built on May 7, 2019, 1:03 a.m.