[R] contrasts for lm

From: Ann Hess <hess_at_stat.colostate.edu>
Date: Thu 08 Dec 2005 - 10:52:35 EST

I would like estimate a number of contrasts from a one-way ANOVA model. I see that the lm command has a contrasts option, but I can't figure out how to use it! Any help that can be offered would be greatly apreciated.

Here is my model statement:


where P has 16 levels, T(treatment) has 12 levels and I am interested in looking at different treatment comparisons.



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Dec 08 11:02:23 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:34 EST