View source: R/zeroInflatedPoisson.R
dzip | R Documentation |
Zero-inflated Poisson Probability Mass Function
dzip(x, lambda, pi, log = FALSE)
x |
vector of (non-negative integer) values. |
lambda |
vector of (non-negative) means. |
pi |
vector of (real lying in [0, 1]) zero-inflation parameters. |
log |
logical; if TRUE, probabilities, p, are given as log(p). |
The (log) probability mass at x, given lambda and pi.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.