ch.rgamma | R Documentation |
This function to generate random numbers from a gamma distribution using the mean and sd as the input (rather than shape and scale)
ch.rgamma(n, mean, sd)
n |
The number of observations. |
m |
The mean of the gamma distribution. |
s |
The standard deviation of the gamma distribution. ' |
A vector of observations from the requested gamma distribution.
ch.rgamma (1000, 2, 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.