Plot the PDF of the Beta distribution.
plotBeta(alpha, beta)
alpha | α parameter of the Beta distribution. |
---|---|
beta | β parameter of the Beta distribution. |
The PDF of Beta(α, β).
The output can be treated like any ggplot2
object and modified accordingly.
plotBeta(1, 1)plotBeta(2, 5)if (FALSE) plotBeta(2, 5) + ggtitle('I hate the default title!')