Hi I am conducting ANOVA using the aov function I am also conducting TukeyHSD to obtain which of the groups show variance How can I obtain the first three p values from the list below?
>zzz.aov <- aov(Intensity ~ Group, data = zzzanova) > TukeyHSD(zzz.aov) Tukey multiple comparisons of means 95% family-wise confidence level Fit: aov(formula = Intensity ~ Group, data = zzzanova) $Group diff lwr upr p adj Group2-Group1 0.778354812 -3.414233 4.970943 0.9607836 Group3-Group1 -0.734044848 -5.073786 3.605696 0.9698685 Group4-Group1 -0.000158625 -4.192747 4.192429 1.0000000 Group3-Group2 -1.512399661 -5.852140 2.827341 0.7933015 Group4-Group2 -0.778513438 -4.971101 3.414075 0.9607611 Group4-Group3 0.733886223 -3.605855 5.073627 0.9698870 ______________________________________________ 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.