Description Usage Arguments Value Examples
Density, distribution function, quantile function and random generation for the
interpretable Zero-Inflated Poisson with parameter mu
and nu
1 2 3 4 5 6 7 |
x, q |
vector of quantiles |
mu, nu |
mean and baseline zero inflation odds parameters. Must be strictly positive. |
pi |
an alternative way than nu to parametrized the distribution. Must be between 0 and 1. |
ref.lambda |
numeric; Baseline Poisson rate. Default is 1. |
log.p |
logical; if |
lower.tail |
logical; if |
p |
vector of probabilities |
n |
number of observations. If |
dizip
gives the density, pizip
gives the distribution function, qizip
gives the quantile function, and rizip
generates random deviates.
Invalid arguments will result in return value NaN
, with a warning.
The length of the results is determined by n
for rizip
, and is the maximum
of the lengths of the numerical arguments for the other functions.
The numerical arguments other than n
are recycled to the length of the results.
Only the first argument of the logical arguments are used.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.