Plot the PDF of the Normal distribution.
plotNormal(mu, sd)
| mu | \(\mu\) parameter of the Normal distribution. |
|---|---|
| sd | \(\sigma\) parameter of the Normal distribution. |
The PDF of Normal(\(\mu\), \(\sigma^2\)).
The output can be treated like any ggplot2 object and modified accordingly.
plotNormal(1, 1)plotNormal(2, 5)if (FALSE) plotNormal(2, 5) + ggtitle('I hate the default title!')