[R] Which function to use for multiple comparison?

Marc Feldesman
Mon, 08 Jul 2002 15:59:07 -0000

>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.
> >

I believe that a recent package ("multcomp") has been uploaded to
CRAN.  It
depends on another package ("mvtnorm").  Both are by the same
authors.  While they are not identical to S-Plus' "multicomp",
they are
similar enough that you can *do* several different multiple comparison
procedures on various lm and aov objects.