rtgamma | R Documentation |
Random generation for the shifted and truncated Gamma distribution with parameters
shape
and scale
.
rtgamma(n = 1, shape = 1, rate = 1, shift = 0, alpha = 0.95)
n |
number of observations |
shape |
Gamma shape parameter |
rate |
Gamma rate parameter |
shift |
shift parameter. |
alpha |
upper quantile of gamma distribution. All values above alpha are truncated. |
rtgamma generates random deviates. The length of the result is determined by n
.
rtgamma(n = 1, shape = 1, rate = 1, shift = 1, alpha = 0.95)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.