Description Usage Arguments Value
Density, distribution function, quantile function and random generation for the hurdle model
using negative binomial distribution with parameters theta
, size
, and prob
.
1 2 3 4 5 6 7 8 9 10 11 12 |
x, q |
vector of quantiles |
theta |
zero generating parameter (probability of zeros) |
size |
number of successes (dispersion parameter) |
prob |
probability of success in each trial. 0 < prob < 1 |
log, log.p |
logical; if TRUE, probabilities |
lower.tail |
logical; if TRUE (default), probabilities are |
n |
number of observations |
p |
vector of probabilities |
dhnbinom
gives the density, phnbinom
gives the distribution function,
qhnbinom
gives the quantile function, and rhnbinom
generates random deviates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.