Skip to contents

Shuffles the order of the values in a vector

Usage

shuffle(v)

Arguments

v

A vector of data.

Examples

 v <- 1:9
 shuffle(v)
#> [1] 6 2 7 3 8 1 9 4 5