Hi there!
I've got 2-way anova
mdl <- aov(calluna ~ age* height, data = df)
I need to do consecutive comparison only for age. So I do it like that
emmeans(mdl,
consec ~ age,
adjust = NULL)
The problem is I've got the results "Results are averaged over the levels of: height.
How can I ignore the "height" factor?
I mean I know I can create a separate anova only with age factor. But maybe there's an elegant solution to adjust this code? to keep working with the same model.
emmeans(mdl,
consec ~ age,
adjust = NULL)
Thanx!