Chapter 9 [Not Done:] The Linear Model V: Mixed Effects Linear Models
Mixed-effects linear modelling / Multilevel modelling
lmer
## Loading required package: Matrix
Deciding which is a fixed effect and which is a random effect
Do not put the same grouping factor as both a fixed and a random effect9. (You could put a continuous variable as both a fixed and random effect if you have enough data)