# NOT RUN {
data(sizeRatings)
require(lme4)
require(lmerTest)
require(optimx)
sizeRatings.lmer = lmer(Rating ~ Class * Naive +
MeanFamiliarity * Language + (1|Subject) + (1|Word),
control=lmerControl(optimizer="optimx",optCtrl=list(method="nlminb")),
data = sizeRatings)
summary(sizeRatings.lmer)
# }
Run the code above in your browser using DataLab