| density.poisson_dist | R Documentation |
Returns a function that evaluates the Poisson PMF at given points.
## S3 method for class 'poisson_dist'
density(x, ...)
x |
A |
... |
Additional arguments (not used). |
A function function(k, log = FALSE, ...) returning the
probability mass (or log-probability) at k.
x <- poisson_dist(5)
f <- density(x)
f(5)
f(0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.