Description Usage Arguments Examples
Quantile function and random generation for truncated Gamma distribution with parameters shape
and rate
.
1 2 3 | qtruncgamma(p, a = -Inf, b = Inf, shape, rate = 1)
rtruncgamma(n, a = -Inf, b = Inf, shape, rate = 1)
|
p |
vector of probabilities. |
a |
vector of lower bounds. These may be |
b |
vector of upper bounds. These may be |
shape, rate |
shape and rate parameters. Must be positive, |
n |
number of observations. If |
1 2 | qtruncgamma(0.6,1,2,2,1)
rtruncgamma(5,1,2,2,1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.