R/poisson_dist.R
cdf.poisson_dist.RdReturns a function that evaluates the Poisson CDF at given points.
# S3 method for class 'poisson_dist'
cdf(x, ...)A function function(q, log.p = FALSE, ...) returning the
CDF (or log-CDF) at q.
x <- poisson_dist(5)
F <- cdf(x)
F(5)
#> [1] 0.6159607
F(10)
#> [1] 0.9863047