Hierarchical and Mixed Effects Models in R
Richard Erickson
Data Scientist
County Year Crime
ANNE ARUNDEL 2006 3167
BALTIMORE CITY 2006 10871
library(lmerTest)
summary(lmer(...))
lmer(response ~ (1 | group))
vs. lmer(response ~ predictor + (1 | group))
Hierarchical and Mixed Effects Models in R