dinvgamma {MCMCpack} | R Documentation |
This evaluates the density of the Inverse Gamma Distribution at the value x.
dinvgamma(x, shape, rate=1)
x |
Scalar location to evaluate density. |
shape |
Scalar shape parameter. |
rate |
Scalar rate parameter (default value one). |
The density evaluated at x
. The parameterization is
consistent with the Gamma Distribution in the base package.
density <- dinvgamma(4.2, 1.1)