Ullrich Ecker <ullrich.ecker <at> uwa.edu.au> writes: > I am fairly new to R, and I am aware that others have had this > problem before, but I have failed to solve the problem from previous > replies I found in the archives. > > Now, I want to calculate a post-hoc test following up a within-subjects ANOVA.
Probably the best is package multcomp. By default, it gives confidence intervals, which is certainly much better than p-values. Haven't tried if you can get p-values. Dieter library(multcomp) amod <- aov(breaks ~ wool + tension, data = warpbreaks) wht <- glht(amod, linfct = mcp(tension = "Tukey")) ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.