[R] getting all contrasts from glm
Mark Difford
mark_difford at yahoo.co.uk
Fri Oct 22 17:41:23 CEST 2010
Jim,
>> In the glm object I can find the contrasts of the main treats vs the
>> first i.e. 2v1, 3v1 and
>> 4v1 ... however I would like to get the complete set including 3v2, 4v2,
>> and 4v3 ... along with
>> the Std. Errors of all contrasts.
Your best all round approach would be to use the multcomp package. In
particular, look at
?glht
?summary.glht
?contrMat
Regards, Mark.
--
View this message in context: http://r.789695.n4.nabble.com/getting-all-contrasts-from-glm-tp3007027p3007421.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list