[R] Which function to use for multiple comparison?

Thomas Lumley tlumley at u.washington.edu
Mon Jul 8 17:22:14 CEST 2002

On Mon, 8 Jul 2002, Julie Cong wrote:

>        [Moderator: This was erronously sent to R-announce,
> 		   and filtered fortunately ]
> Hi,
> This is my first time to use R. I'm wondering which function I can use to do
> multiple comparison. I have an lm object and want to do multiple comparison
> based on this object. Splus has a function multicomp() but I could not find
> a similar one in R. Thanks in advance. Really appreciate it.

At the moment the multiple comparisons features in R are a bit limited.

   p.adjust does a number of corrections of p-values that are very general

   pairwise.t.test is another interface to these same methods

   TukeyHSD provides Tukey's Honestly Significant Difference

help.search("comparison") suggests that the npmc package might also be


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list