rtpois: 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


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.