plotInvGamma: Plot the PDF of the Inverse Gamma distribution.

Description Usage Arguments Value Note Examples

Description

Plot the PDF of the Inverse Gamma distribution.

Usage

1

Arguments

shape

shape parameter of the Inverse Gamma distribution.

scale

scale parameter of the Inverse Gamma distribution.

Value

The PDF of InvGamma(shape, scale).

Note

The output can be treated like any ggplot2 object and modified accordingly. Also note that the scale parameter of the Inverse Gamma distribution is analogous to the beta (or rate) parameter of the regular Gamma distribution. The beta parameter of the plotNormalInvGamma distribution is analogous to the scale parameter here.

Examples

1
2
3
plotInvGamma(2, 4)
plotInvGamma(1, 17)
## Not run: plotInvGamma(1, 17) + ggtitle('I hate the default title!')

Example output



bayesAB documentation built on June 25, 2021, 1:07 a.m.