lme4
or glmmTMB
, use the
modular fitting framework to do a model fit step by step. Use
str()
/names()
(possibly
slotNames()
, or even
DataExplorer::plot_str()
?) to explore the structure of the
object produced at each step.
lme4
, see the steps at ?modular
glmmTMB
, see the steps at ?fitTMB