Description Usage Arguments Details Examples
Modified version of sample()
to sample from x
rather than 1:x
when x
has length 1 and is numeric.
1 |
x, ... |
See |
See "sample()'s surprise" and "safer version" section in the example section in the help of sample()
to understand why this function is necessary.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.