ditnb | R Documentation |
The probability of each element in a vector x
following the i-inflated t-truncated negative binomial distribution with parameters mu
, theta
, and p
which is inflated at i
and truncated at t
.
ditnb(x, mu, theta, p, i = 0, t = 0, lower_tail = TRUE, return_log = FALSE)
x |
Numeric: A vector of quantiles. |
mu |
Numeric: The expected value. |
theta |
Numeric: The overdispersion. |
p |
Numeric: The inflation proportion. |
i |
Numeric: The inflation point. |
t |
Numeric: The truncation point (NB: can be set to |
lower_tail |
TRUE/FALSE: should |
return_log |
TRUE/FALSE: should the logarithm of the probabilities be returned? |
A vector the size as x
containing the probability of each value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.