Learn R Programming

bayesAB (version 1.1.3)

plotBeta: 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\)).

Examples

Run this code
# NOT RUN {
plotBeta(1, 1)
plotBeta(2, 5)
# }
# NOT RUN {
plotBeta(2, 5) + ggtitle('I hate the default title!')
# }

Run the code above in your browser using DataLab