Default behavior of this function was unacceptable, so I fixed it if length(x) == 1, returns x instead of using x as a number to be sampled from.
1 | sample.fixed(x, size)
|
x |
The vector to be sampled |
size |
The number of samples to take |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.