plotInvGamma {bayesAB} | R Documentation |
Plot the PDF of the Inverse Gamma distribution.
Description
Plot the PDF of the Inverse Gamma distribution.
Usage
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!')
[Package bayesAB version 1.1.3 Index]