rtpois: Randomly 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 July 2, 2020, 2:12 a.m.