View source: R/zeroAugmentedGamma.R
dzag | R Documentation |
Zero-augmented Gamma Probability Density Function
dzag(x, mu, phi, pi, log = FALSE)
x |
vector of (non-negative) values. |
mu |
mean/s (non-negative) for the gamma distribution. |
phi |
dispersion parameter for the gamma distribution. |
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.