Plot the PDF of the Normal distribution.

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

Note

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

Examples

plotNormal(1, 1)
plotNormal(2, 5)
if (FALSE) plotNormal(2, 5) + ggtitle('I hate the default title!')