bigsample.rdbigsample samples quicker from large pools than sample does.
bigsample(x, ...)
# Default S3 method
bigsample(x, size, replace = FALSE, prob = NULL, negative = FALSE, ...)
# S3 method for class 'ff'
bigsample(x, size, replace = FALSE, prob = NULL, ...)For small pools sample is called.
Note that bigsample and sample do not necessarily return the same sequence of elements when set.seed is set before.
a vector of elements sampled from the pool (argument 'x')