| rztpois | R Documentation |
Generates values from a zero-truncated Poisson distribution with mean equal to that specified. It uses an optimisation routine to check which value of lambda will give values with the requested mean.
rztpois(n, mean = NA)
n |
number of values to randomly generate |
mean |
mean of the generated values |
returns a randomly generated value from a zero-truncated Poisson distribution.
Internal function not intended to be called by user.
Len Thomas