resample {metasnf} | R Documentation |
Helper resampling function found in ?sample
Description
Like sample, but when given a single value x, returns back that single value instead of a random value from 1 to x.
Usage
resample(x, ...)
Arguments
x |
Vector or single value to sample from |
... |
Remaining arguments for base::sample function |
Value
Numeric vector result of running base::sample.
[Package metasnf version 2.1.2 Index]