View source: R/utils-rngstream.R View source: R/RcppExports.R
rztpois | R Documentation |
Sample zero-truncated Poisson random samples (basic R)
rztpois(n, lambda)
n |
Integer, number of samples |
lambda |
Positive number, the mean of the original (untruncated) Poisson distribution |
a vector of non zero counts of size n
rztpois(10, 1)
rztpois(10, 1:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.