Skip to content
Prev 2617 / 20628 Next

Starting values slot

Stuart Luppescu wrote:
There's a function called ST2Omega() hidden in the namespace
(lme4:::ST2Omega), but reading the help for "lme4" it looks like you
should now just use the ST slot:

library(lme4)

fm0 <- lmer(Reaction ~ (Days|Subject), sleepstudy)

fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy)

fm1B <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy,
             start = fm0 at ST)

  ?  I'm a little out of my depth here ?

  Ben Bolker