Description Usage Arguments Value Examples
A safer method than sample(x), for cases where length(x) may equal 1 or >1. See examples within ?sample.int.
1 |
x |
to-be resampled vector |
... |
(optional) additional arguments to sample.int |
a vector with elements resampled
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.