Re: [R] Specify contrasts in R

2010-08-02 Thread peter dalgaard
On Aug 2, 2010, at 3:53 PM, Rebecca Ross wrote: > Could anyone advise if this is the 'correct' contrast matrix to use to make > contrasts between one treatment and the mean of 2 other treatments (in this > case, mid-parent values to the F1 and F2 from a line cross experiment)? > Desired contras

[R] Specify contrasts in R

2010-08-02 Thread Rebecca Ross
Dear Listers, Could anyone advise if this is the 'correct' contrast matrix to use to make contrasts between one treatment and the mean of 2 other treatments (in this case, mid-parent values to the F1 and F2 from a line cross experiment)? Desired contrasts are 1) P1 versus P2 2) average of P1 and