Return the result of stats::terms() applied to the model
or NULL if it is not possible to get terms from model.
Usage
model_get_terms(model)
# S3 method for default
model_get_terms(model)
# S3 method for brmsfit
model_get_terms(model)
# S3 method for glmmTMB
model_get_terms(model)
Arguments
model
a model object
Details
For models fitted with glmmTMB::glmmTMB(), it will return a terms object
taking into account all components ("cond" and "zi"). For a more
restricted terms object, please refer to glmmTMB::terms.glmmTMB().