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

jackwasey/jwutil documentation built on Jan. 20, 2020, 6:56 p.m.