runehaubo / lmerTestR

Repository for the R-package lmerTest
48 stars 9 forks source link

Convert `lmerModLmerTest` back to `lmermod` #49

Open josherrickson opened 2 years ago

josherrickson commented 2 years ago

Am I missing a way to convert an lmerModLmerTest back to lmermod? This comes up when some packages don't properly handle lmerModLmerTest objects, requiring unloading lmerTest and re-running the models, or running the models using lme4::lmer followed by as.lmerModLmerTest. (Specifically I'm thinking of the mediation package which supports lme4, but not lmerTest.)

If this isn't already implemented, consider this a feature request.