I've done two-way ANOVA with interaction (edit) and now I want to do a post-hoc test. I have 2 factors and both have just 2 categories. I've found the function HSD.test from agricolae package and I really like that it gives you the groups and letters regarding how the groups differ. But I'm not sure if this function can be used with two factors or if it works right only if you have one-way ANOVA. Does anybody know?
Edit: I did the ANOVA to test a hypothesis that neither of the 2 factors has an effect on the continuous dependent variable. I rejected the hypothesis and now I want to know how the 4 groups differ between themselves. How should I test this?