Functions for the inverse gamma distribution, analogues to the gamma distribution functions.
dinvGamma(x, a, b, log = FALSE, normalize = TRUE)
pinvGamma(q, a, b, lower.tail = TRUE, log.p = FALSE)
qinvGamma(p, a, b, lower.tail = TRUE, log.p = FALSE)
rinvGamma(n, a, b)
vector of quantiles
shape parameter
rate parameter
logical; if TRUE
, probabilities/densities p
are returned as log(p)
normalize the density function? (default)
logical; if TRUE
(default), probabilities are P[X <= x],
otherwise, P[X > x]
vector of probabilities
number of observations. If length(n) > 1
, the length is
taken to be the number required
Daniel Saban\'es Bov\'e
See the gamma distribution (rgamma
) for the details.