Pooled errror term for RM factor for posthoc tests
I was hoping someone could help me with a small issue...
In short - I have a RM ANOVA with three levels (remember, control, forgot). The significant main effect is followed with posthoc tests.
In JASP, I can chose whether I want to pool the error term for the RM factors (when running the posthoc tests). In r, however, it is pooled automatically.... Is there any way to prevent r from doing this?....
Im adding my few lines of code below. I hope someone can help me with this! :)
# Creates contrasts for condition
contrast_list_forCondition <- list(c_remcon = c(-1, 0, 1), c_remfor = c(0, -1, 1), c_confor = c(-1, 1, 0))
# anova + posthoc tests
res.aov_memory <- aov(memoryperc ~ (Motivation) + Error(pp/(Motivation)), data = data_memory_resh)
leastsquare_2 = lsmeans(res.aov_memory, "Motivation")
res.contrasts_memory = summary(contrast(leastsquare_2, contrast_list_forCondition, adjust = "bonf"))