Skip to content
Prev 43210 / 398513 Next

Re-Post: Combining Factors in model.matrix

Thanks for your reply:
Perhaps I have used the wrong terminology?  My understanding of a design
matrix is that it identifies the factors are present for a given experiment.

Here, I have a two factor experiment, where each factor has two levels.
In the case I gave:
   t1 t2
1   1  0
2   1  1
3   0  0
4   0  1

I had expected this to represent four distinct experiments where
factor one is present in the first two and absent in the second two.
That wasn't my intention, I want to retain the intercept term and
not constrain it to pass through the origin.

Paul