Description Usage Arguments Value See Also Examples
Density, distribution function, quantile function and random generation for the
zero-inflated Poisson (ZIP) distribution with parameters lambda
and omega
.
1 2 3 4 |
x, q |
vector of quantiles. |
p |
vector of probabilities. |
n |
number of random values to return. |
lambda |
vector of (non-negative) means. |
omega |
zero-inflation parameter. |
log, log.p |
logical; if TRUE, probabilities |
lower.tail |
logical; if TRUE (default), probabilities are |
dzip
gives the density, pzip
gives the distribution function,
qzip
gives the quantile function, and rzip
generates random deviates.
dzinb
, pzinb
, qzinb
, and rzinb
for the zero-inflated negative binomial (ZINB) distribution.
1 2 3 4 5 |
[1] 6.839397e-01 1.839397e-01 9.196986e-02 3.065662e-02 7.664155e-03
[6] 1.532831e-03 2.554718e-04 3.649598e-05 4.561997e-06 5.068886e-07
[11] 5.068886e-08
[1] 0.8678794 0.9997029 0.9999999
[1] 0 0 1
[1] 1 0 1 0 0 2 0 0 0 0 0 0 0 0 1 0 1 3 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0
[38] 2 3 1 0 1 0 0 2 0 0 0 0 0 2 1 0 0 0 1 1 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 2
[75] 1 1 1 0 2 1 2 0 1 0 1 1 0 0 0 2 0 0 4 0 3 1 0 1 0 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.