rztpois {nhppp} | R Documentation |
Sample zero-truncated Poisson random samples (basic R)
rztpois(size = 1, lambda = 1)
size |
Integer, number of samples |
lambda |
Positive number, the mean of the original (untruncated) Poisson distribution |
a vector of non zero counts of size size
rztpois(10, 1)
rztpois(10, 1:10)