Plot the PDF of the Poisson distribution.
plotPoisson(lambda)
| lambda | \(\lambda\) parameter of the Poisson distribution. |
|---|
The PDF of Poisson(\(\lambda\)).
The output can be treated like any ggplot2 object and modified accordingly.
plotPoisson(1)plotPoisson(5)if (FALSE) plotPoisson(5) + ggtitle('I hate the default title!')