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