[R] how to make an orthogonal contrasts matrix?

szhan at uoguelph.ca szhan at uoguelph.ca
Wed Sep 12 22:36:23 CEST 2007


Hello, R experts,
I have an 11 levels of a factor A. I am only interested in a constrast  
between first 4 vs rest 7 levels. Is there any command to make an  
orthogonal constrasts matrix given one contrast of interest such as   
7,7,7,7, -4,-4,-4,-4,-4,-4,-4?
Thanks,
Joshua



More information about the R-help mailing list