plotGamma {bayesAB} | R Documentation |
Plot the PDF of the Gamma distribution.
Description
Plot the PDF of the Gamma distribution.
Usage
plotGamma(shape, rate)
Arguments
shape |
shape ( |
rate |
rate ( |
Details
Note: We use the shape/rate parametrization of Gamma. See https://en.wikipedia.org/wiki/Gamma_distribution for details.
Value
The PDF of Gamma(shape, rate).
Note
The output can be treated like any ggplot2
object and modified accordingly.
Examples
plotGamma(1, 1)
plotGamma(2, 5)
## Not run: plotGamma(2, 5) + ggtitle('I hate the default title!')
[Package bayesAB version 1.1.3 Index]