powered by
Sample zero-truncated Poisson random samples (basic R)
rztpois(n, lambda)
a vector of non zero counts of size n
n
Integer, number of samples
Positive number, the mean of the original (untruncated) Poisson distribution
rztpois(10, 1) rztpois(10, 1:10)
Run the code above in your browser using DataLab