Re: [R] Svar: Re: help with simple R-question

2007-06-06 Thread Rina Miehs
Thanks that helped in the right way:D Thanks alot! Rina >>> John Kane <[EMAIL PROTECTED]> 06/06/07 1:46 >>> I think that you have the same situation as before though I have never used ranef(). The boar ids are acting as the row names and are not really part of the data.frame. It just looks like t

Re: [R] Svar: Re: help with simple R-question

2007-06-06 Thread John Kane
I think that you have the same situation as before though I have never used ranef(). The boar ids are acting as the row names and are not really part of the data.frame. It just looks like that when R prints the data.frame. Try boars <- rownames(far1) far1 <- cbind( boars, far1) The results

Re: [R] Svar: Re: help with simple R-question

2007-06-06 Thread Rina Miehs
The left column is boar id number, and the right is the random effect estimate. I need the numbers in the left column when i merge far1 together with other data.frames based on the id numbers. When i use ranef the output is the class list and R only sees the intercepts, but i need a data.frame wi

Re: [R] Svar: Re: help with simple R-question

2007-06-06 Thread John Kane
--- Rina Miehs <[EMAIL PROTECTED]> wrote: > thanks, that works great!! > > just have another thing...i the same area > What if the class is list instead of array, how can > you name the first unrecognized column? I am not sure that I understand the question. You don't really have an unrecogni

[R] Svar: Re: help with simple R-question

2007-06-06 Thread Rina Miehs
thanks, that works great!! just have another thing...i the same area What if the class is list instead of array, how can you name the first unrecognized column? Rina >>> John Kane <[EMAIL PROTECTED]> 06/05/07 3:17 >>> --- Rina Miehs <[EMAIL PROTECTED]> wrote: > hello > > what do i write fo