Random generation for the truncated Gamma distribution with
parameters shape and scale.
Usage
rgammat(n, scale = scale, shape = shape, lower, upper)
Arguments
- n
number of observations
- scale
scale parameter
- shape
shape parameter
- lower
numeric. Observations below this threshold are not present in
the sample.
- upper
numeric. Observations above this threshold are not present in
the sample.
Value
The length of the result is determined by n
.