I'm trying to fit a glmm model on my data and I am not sure how to include an interaction between some of my fixed effects. Im using the glmer
function from lme4
.
glmer(x ~ a + b + a*b + (1|random))
glmer(x ~ a + b + a:b + (1|random))
glmer(x ~ a*b + (1|random))
is writing the a
and the b
separately redundant??