Now, I am working with some design matrices. My problem is to set "contrasts" option. Now I want to use "contr.sum" as the option, and it works properly. However, this option sets the last element of a factor as -1. For example, if I have a factor which has 5 elements and want to use the "contr.sum" option, the 5th elements is always set to -1. I want set -1 to other element such as 1st or 2nd. Is it possible? Thank you in advance. Yongwan Chun
[[alternative HTML version deleted]] ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html