[R-sig-ME] dotplot of ranef

Reinhold Kliegl reinhold.kliegl at gmail.com
Mon Oct 13 08:18:58 CEST 2008


Taking the example from:
?ranef

fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy)
rr1 <- ranef(fm1, postVar = TRUE)
dotplot(rr1,scales = list(x = list(relation = 'free')))[["Subject"]]

How would I need to modify dotplot() to have "Subject" sorted for
"Days", rather than "(Intercept)"?

Thanks in advance.

Reinhold Kliegl




More information about the R-sig-mixed-models mailing list