Ramdonly generates values from a zero-truncated Poisson distribution

Description

Generates values from a zero-truncated Poisson distribution with mean equal to that specified. It uses a look up table to check which value of lambda will give values with the requested mean.

Usage

1
rtpois(N, mean = NA)

Arguments

N

number of values to randomly generate

mean

mean of the generated values

Note

Internal function not intended to be called by user.

Author(s)

Laura Marshall

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.