Re: [R] two cols in a data frame are the same factor

2008-03-21 Thread Andres Legarra
gt; > -- > Gregory (Greg) L. Snow Ph.D. > Statistical Data Center > Intermountain Healthcare > [EMAIL PROTECTED] > (801) 408-8111 > > > > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Be

Re: [R] two cols in a data frame are the same factor

2008-03-20 Thread Greg Snow
TED] (801) 408-8111 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Andres Legarra > Sent: Thursday, March 20, 2008 2:25 AM > To: Michael Dewey > Cc: R-help@r-project.org > Subject: Re: [R] two cols in a data frame are the same

Re: [R] two cols in a data frame are the same factor

2008-03-20 Thread Andres Legarra
Hi, I am afraid you misunderstood it. I do not have repeated records, but for every record I have two, possibly different, simultaneously present, instanciations of an explanatory variable. My data is as follows : yield haplo1 haplo2 100 A B 151 B A 212 A A So I have one effect (haplo), but t

Re: [R] two cols in a data frame are the same factor

2008-03-19 Thread Michael Dewey
At 09:11 18/03/2008, Andres Legarra wrote: >Dear all, >I have a data set (QTL detection) where I have two cols of factors in >the data frame that correspond logically (in my model) to the same >factor. In fact these are haplotype classes. >Another real-life example would be family gas consumption a

[R] two cols in a data frame are the same factor

2008-03-18 Thread Andres Legarra
Dear all, I have a data set (QTL detection) where I have two cols of factors in the data frame that correspond logically (in my model) to the same factor. In fact these are haplotype classes. Another real-life example would be family gas consumption as a function of car company (e.g. Ford, GM,

[R] two cols in a data frame are the same factor

2008-03-18 Thread Andres Legarra
Dear all, I have a data set (QTL detection) where I have two cols of factors in the data frame that correspond logically (in my model) to the same factor. In fact these are haplotype classes. Another real-life example would be family gas consumption as a function of car company (e.g. Ford, GM, and