cdpois calculates the probability density of a value k from a
Poisson distribution with a maximum kmax. rdpois draws random
numbers from a conditional Poisson distribution.
Usage
cdpois(k, lambda, kmax, log = TRUE)
rdpois(n, lambda, kmax, ...)
Value
A numeric value representing the probability (or log-probability) of
observing `k` under the truncated Poisson distribution, or a vector of random
values drawn from a truncated Poisson distribution.
Arguments
k
random variable value
lambda
rate parameter of the Poisson distribution
kmax
maximum value of the conditional Poisson distribution