Check model singularity
Source:R/check_gazepoint_model_singularity.R
check_gazepoint_model_singularity.RdCheck whether a fitted mixed model has a singular random-effects structure.
Arguments
- model
A fitted model object, or a
gp3toolsfit object containing a$modelelement.- tolerance
Numeric tolerance passed to
lme4::isSingular().- model_name
Optional model label used in the returned table.