Learn R Programming

glmmTMB (version 1.1.9)

formula.glmmTMB: Extract the formula of a glmmTMB object

Description

Extract the formula of a glmmTMB object

Usage

# 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