This function requires the bigdata library section to be loaded.
bd.shuffle(data, seed=NULL)
bdFrame
or
data.frame.
NULL, uses a new random seed for sampling every time.
If an integer, it uses this for the seed.
The default value will set the seed based on the S-PLUS random seed.
bdFrame or
data.frame,
of the same type as
data.
.Random.seed is created if it does not already exist,
otherwise its value is updated.
This functions makes use of a modified merge sort to randomly shuffle the input.
# Mix up fuel.frame bd.shuffle(fuel.frame)