plotNormal: Plot the PDF of the Normal distribution.

Description Usage Arguments Value Note Examples

Description

Plot the PDF of the Normal distribution.

Usage

1

Arguments

mu

μ parameter of the Normal distribution.

sd

σ parameter of the Normal distribution.

Value

The PDF of Normal(μ, σ^2).

Note

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

Examples

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

Example output



bayesAB documentation built on June 25, 2021, 1:07 a.m.