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

Reply via email to