How to convert the formula from LME4 to NLME?
ONKELINX, Thierry <Thierry.ONKELINX at ...> writes:
Michael,
This formula is nonsens since you're fitting two random intercepts on the same grouping factor. (fm9 <- lmer(Reaction ~ 1 + Days + (1+Days|Subject), sleepstudy, REML = FALSE)) is more sensible. And translates to lme(Reaction ~ 1 + Days, random = ~1+Days|Subject, sleepstudy, method = "ML")
By the way, if anyone wants to start an "lme to lmer translation" section or table on http://glmm.wikidot.com/faq , they're more than welcome to do so ... Ben Bolker