resample | R Documentation |
Like sample, but when given a single value x, returns back that single value instead of a random value from 1 to x.
resample(x, ...)
x |
Vector or single value to sample from |
... |
Remaining arguments for base::sample function |
Numeric vector result of running base::sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.