Plot the PDF of the Inverse Gamma distribution.

plotInvGamma(shape, scale)

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

plotInvGamma(2, 4)
plotInvGamma(1, 17)
# NOT RUN { plotInvGamma(1, 17) + ggtitle('I hate the default title!') # }