plotPoisson {bayesAB}R Documentation

Plot the PDF of the Poisson distribution.

Description

Plot the PDF of the Poisson distribution.

Usage

plotPoisson(lambda)

Arguments

lambda

\lambda parameter of the Poisson distribution.

Value

The PDF of Poisson(\lambda).

Note

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

Examples

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

[Package bayesAB version 1.1.3 Index]