Extract the formula of a glmmTMB object

# S3 method for glmmTMB
formula(x, fixed.only = FALSE, component = c("cond", "zi", "disp"), ...)

Arguments

x

a glmmTMB object

fixed.only

(logical) drop random effects, returning only the fixed-effect component of the formula?

component

formula for which component of the model to return (conditional, zero-inflation, or dispersion)

...

unused, for generic consistency