sampleRandomValue | R Documentation |
Sample a random value from a distribution
sampleRandomValue(distribution, mean, sd, n)
distribution |
The type of the distribution the random variable is to be
sampled from. See |
mean |
Mean value of the random variable |
sd |
Standard deviation of the random variable |
n |
Size of the sample |
Numerical vector of size n with randomly sampled values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.