I am trying to add covariates in lmer, but I do have difficulty with figuring that that, can anyone help me out with this?
I have this happy_plot = lmer(happy_score ~ life_quality +(1|subject), data) as my original code with no covariates. My question is what should I do if I want to add age, gender, SES, edu level as covariates of no interest into the code. Should it be happy_plot = lmer(happy_score ~ life_quality + age + gender + edu_level + SES + (1|subject),data)?
Another question is what is the argument "contrasts" means? I couldn't really figure it out by reading the R Documentation.