[R] contrasts for lm

Dieter Menne dieter.menne at menne-biomed.de
Thu Dec 8 09:03:56 CET 2005


Ann Hess <hess <at> stat.colostate.edu> writes:

> 
> Here is my model statement:
> 
> Model<-lm(log2PM~P+T+P*T)
> 
> where P has 16 levels, T(treatment) has 12 levels and I am interested in 
> looking at different treatment comparisons.

With so many levels, you should do something against fishing for error 
accumulation and use simint(simtest) in package multcomp, which can handle lm-
models.

Dieter




More information about the R-help mailing list