Learn R Programming

bayesAB (version 1.1.3)

plotNormal: Plot the PDF of the Normal distribution.

Description

Plot the PDF of the Normal distribution.

Usage

plotNormal(mu, sd)

Arguments

mu

\(\mu\) parameter of the Normal distribution.

sd

\(\sigma\) parameter of the Normal distribution.

Value

The PDF of Normal(\(\mu\), \(\sigma^2\)).

Examples

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

Run the code above in your browser using DataLab