I have a lmer model with two within factors
lmer (variable ~ time * condition + (1|id), data= df)
with time having 2 levels (pre - post) and condition having 2 levels (cond1, cond2)
The coefficient estimation computes parameters for:
cond2
cond2:post
post
How does R take the reference term to compare the level?
How can I get the other interactions between cond:time? If I run a model with a 3 levels fixed effect, it always misses some interactions. It seems that generate only comparison with the reference term and not among the other levels of a fixed effect.
my_factor <- relevel(my_factor, "my_reference"). The reason for this is to avoid perfect colinearity with the intercept. – Frans Rodenburg Jul 12 '19 at 02:03