Plot the PDF of the Poisson distribution.

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)
if (FALSE) plotPoisson(5) + ggtitle('I hate the default title!')