plotBeta {bayesAB}R Documentation

Plot the PDF of the Beta distribution.

Description

Plot the PDF of the Beta distribution.

Usage

plotBeta(alpha, beta)

Arguments

alpha

\alpha parameter of the Beta distribution.

beta

\beta parameter of the Beta distribution.

Value

The PDF of Beta(\alpha, \beta).

Note

The output can be treated like any ggplot2 object and modified accordingly.

Examples

plotBeta(1, 1)
plotBeta(2, 5)
## Not run: plotBeta(2, 5) + ggtitle('I hate the default title!')

[Package bayesAB version 1.1.3 Index]