Skip to content
Prev 18813 / 20628 Next

Pulling specific parameters from models to prevent exhausting memory.

Hi James,

You may have luck using mgcv::bam instead of lme4. It can also fit random-slopes models and is optimized for "big data", in terms of memory usage and computational efficiency. The modeling syntax is slightly different, though; the correct translation of lme4 random effects into mgcv's s(...,bs='re') terms depends on whether timepoint.nu is a covariate or a factor.

HTH,
Cesko