Skip to content
Prev 79725 / 398502 Next

Post Hoc Groupings

Jarrett Byrnes wrote:
Re question 2, using the example in the help file:
fm1 <- aov(breaks ~ wool + tension, data = warpbreaks)
TukeyHSD(fm1, c("wool","tension"))

Note that "wool", "tension" must be factors.

[In the help file for TukeyHSD, argument 'which' is
defined as a "list" of terms. Maybe that should be changed
to a "character vector".]

Peter