Description Usage Arguments Details Value Author(s) Examples
Random generator for the Gamma distribution, using parameters mean
and sigma. This is an alternative to rgamma function.
| 1 | 
| n | Number of observations. | 
| mu | Mean parameter of the Gamma distribution. | 
| sigma | Scale parameter of the Gamma distribution. | 
The Gamma distribution with parameters mean = mu and sigma = s is
defined as
f(x) = (s/mu)^s /Gamma(s) x^(s-1) e^-(s*x/mu)
for x >= 0, mu > 0 and s > 0.
The mean and variance of this parametrization are E(x) = mu and Var(X) = mu^2/sigma
A vector of length n, representing the realization of the Gamma
distribution with parameters mean and sigma.
Erick A. Chacon-Montalvan
| 1 | rgamma_mu(100, 5, 5)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.