TukeyHSDs: Simplify the list of a TukeyHSD object keeping the...

View source: R/TukeyHSDs.r

TukeyHSDsR Documentation

Simplify the list of a TukeyHSD object keeping the significant differences only.

Description

Simplify the list of a TukeyHSD object keeping the significant differences only.

Usage

TukeyHSDs(TukeyHSD.object)

Arguments

TukeyHSD.object

An object of calls "TukeyHSD"

Details

When TukeyHSD is used on a fitted model with large numbers of categories, the number of pairwise comparisons is extremely large (n(n-1)/2). TukeyHSDs simplify the TukeyHSD object keeping the significant pairwise comparisons only. A plot method exists for TukeyHSD objects.

Value

An object of class "multicomp" and "TukeyHSD"

See Also

TukeyHSD

Examples


     summary(fm1 <- aov(breaks ~ wool + tension, data = warpbreaks))
     myobject<-TukeyHSD(fm1, "tension", ordered = TRUE)
     myobject
     TukeyHSDs(myobject)
  

pgirmess documentation built on May 29, 2024, 4:26 a.m.

Related to TukeyHSDs in pgirmess...