View source: R/zeroInflatedNegativeBinomial.R
dzinb_2 | R Documentation |
Zero-inflated Negative Binomial Probability Mass
dzinb_2(x, mu, phi, pi, log = FALSE)
x |
vector of (non-negative integer) values. |
mu |
mean of the distribution. |
phi |
dispersion parameter. |
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 mu, phi and pi.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.