Skip to contents

Create a one-inflated binomial specification

Usage

oi_binomial(formula = NULL)

Arguments

formula

Optional formula for the one-inflation probability (excess at the upper boundary, y = n). If NULL, uses intercept-only model.

Value

A ratiod_zi object

Examples

# Intercept-only OI
oi_binomial()
#> tulpaRatio Zero-Inflation Specification
#> ==================================
#> Type: One-Inflated Binomial 
#> Formula: ~ 1 (intercept only)