powered by
Internal functions not intended to be called directly by users.
sample2(x, ...)
Either a vector of one or more elements from which to choose, or a positive integer.
arguments for particular methods.
Corrects behavior when object sampled has unit length. This is the same function proposed in help file of sample as resample.
sample
resample