Small helper function that returns essential information on coefficients, model matrix, variance and correlation parameters, as well as random effects parameters of mixed effects models as list. Mainly used for internal purposes.
Usage
get_mixed_info(model, ...)
# Default S3 method
get_mixed_info(model, verbose = TRUE, ...)
# S3 method for class 'glmmTMB'
get_mixed_info(model, component = "conditional", verbose = TRUE, ...)
Value
This function returns a list that has the same structure for any mixed models with the following components:
beta
(contains fixed effects, as returned bylme4::fixef(model)
)X
(contains the model matrix, as returned bylme4::getME(model, "X")
)vc
(contains the variance and correlation parameters, as returned bylme4::VarCorr(model)
)re
(random effects parameters, as returned bylme4::ranef(model)
)