pbetabinom_c: Replacement for pbetanimom
Description
Replacement for pbetanimom
Usage
pbetabinom_c(q, size, m, s)
Value
This is a modification of the pbetanimom function from the rmutil package.
The original function would throw an error for non-nonsensical values rather than returning 0 or 1.
Arguments
- q
vector of quarantines
- size
vector of totals
- m
vector of probabilities of success
- s
vector of over dispersion parameters