rnzp {aster} | R Documentation |
Random generation for the Poisson distribution with parameter mu
conditioned on being non-zero. If xpred
is not one, then
random variate is the sum of xpred
such random variates.
rnzp(n, mu, xpred = 1)
n |
number of random values to return. If length(n) > 1 ,
the length is taken to be the number required. |
xpred |
number of trials. |
mu |
vector of positive means. |
a vector of random deviates.
rnzp(10, 0.2)