I run a two-way repeated measures anova in R:
a<-aov(acc~sound*cnd + Error(sbj/(sound + cnd)), data=d)
I regressed accuracy (of participants, sbj) on cnd (condition, having two levels: abstract vs. environmental), and sound (having four levels: 1st,2nd,3rd,4th).
There is an interaction, so I analysed data from each condition separately.
Results were similar in both conditions: There was an effect of sound, and post-hoc comparisons (following this post) suggested these differences : (1st)>(4th)> (2nd or 3rd), for both conditions, as can also be seen on the graph below:
But the interesting part in my results is the interaction.
My question is how can I compare the differences between conditions at each level of sound.
I have already used package emmeans, so I managed to see that the difference is significant for each level of sound.
m<-emmeans(a, ~cnd|sound)
pairs(m)
But this not what I am looking for. I need to conduct multiple comparisons on the differences between means. To be more clear(please see the image), I need to check if a and d are greater to b and c.
Any ideas?
Any suggestion would be greatly appreciated.
Fotis