plotNormal {bayesAB}R Documentation

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

Note

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

Examples

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

[Package bayesAB version 1.1.3 Index]