[R] Bonferroni post hoc test in R for repeated measure ANOVA with mixed within and between subjects design

angelo.arcadi at virgilio.it angelo.arcadi at virgilio.it
Mon Jul 6 16:00:35 CEST 2015


Dear List Members, 



I need to perform a Bonferroni post hoc test in R on a table with 
three within subjects factors (Emotion, having 5 levels, Material, 
having 4 levels, Shoes, having 2 levels) and one between subject factor 
(Musician, having 2 levels). 


I normally use the Tukey method with the following formula

require(nlme)
lme_H2H = lme(H2H ~ Emotion*Material*Shoes*Musician, data=scrd, random = ~1|Subject)
require(multcomp)
summary(glht(lme_H2H, linfct=mcp(Emotion = "Tukey")))



I am not able to find any reference that explains with an example of R
 code how to perform a post hoc test with the Bonferroni procedure. 
Can anyone provide an example to perform the same post hoc test in the 
code above but with Bonferroni instead of Tukey?


Thank you in advance



Angelo

       
	[[alternative HTML version deleted]]



More information about the R-help mailing list