Create a zero-and-one-inflated binomial (ZOIB) specification
Usage
zoib(zi_formula = NULL, oi_formula = NULL)
Arguments
- zi_formula
Optional formula for the zero-inflation probability.
If NULL, uses intercept-only model.
- oi_formula
Optional formula for the one-inflation probability.
If NULL, uses intercept-only model.
Examples
# Intercept-only for both zero and one inflation
zoib()
#> tulpaRatio Zero-Inflation Specification
#> ==================================
#> Type: Zero-and-One-Inflated Binomial
#> Zero-inflation formula: ~ 1 (intercept only)
#> One-inflation formula: ~ 1 (intercept only)