rtpois: Ramdonly generates values from a zero-truncated Poisson...

Description Usage Arguments Note Author(s)

View source: R/rtpois.R

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


mads documentation built on May 30, 2017, 3:22 a.m.

Related to rtpois in mads...