[R] Post hoc test for lm() or glm() ?

Mark Na mtb954 at gmail.com
Thu Feb 2 22:10:44 CET 2012


Thank you Richard and Frank for your very quick and helpful replies.

Cheers, Mark


On Thu, Feb 2, 2012 at 2:58 PM, Frank Harrell <f.harrell at vanderbilt.edu> wrote:
> The R multcomp package provides one general approach to multiplicity
> correction.  For general contrasts in lm and glm, the rms package's ols and
> Glm functions make this even easier to use.
> Frank
>
> Mark Na wrote
>>
>> Hi R-helpers,
>>
>> TukeyHSD() works for models fitted with aov(), but could anyone point
>> me to a function that performs a similar post hoc test for models
>> fitted with lm() or glm()?
>>
>> Thanks in advance,
>>
>> Mark
>>
>> ______________________________________________
>> R-help@ 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.
>>
>
>
> -----
> Frank Harrell
> Department of Biostatistics, Vanderbilt University
> --
> View this message in context: http://r.789695.n4.nabble.com/Post-hoc-test-for-lm-or-glm-tp4352761p4352799.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list