[R] Is it possible with two random effects in lme()?

2013-09-26 Thread Bettina Lado Lindner
Hello, I want two random effect in R. One is BLOQUE nested in REP and the other is TRAT. I don’t know how put TRAT independant of the other random effect. My model until this step is ok: data_2010_ECCI_ensayo$le1=groupedData(REND~ REP|BLOQUE, data=data_2010_ECCI_ensayo$le1)

Re: [R] Is it possible with two random effects in lme()?

2013-09-26 Thread Ben Bolker
Bettina Lado Lindner betti_la at hotmail.com writes: Hello, I want two random effect in R. One is BLOQUE nested in REP and the other is TRAT. I don’t know how put TRAT independant of the other random effect. [snip] I know that in lmer is easier but I use error correlation so I need

Re: [R] Is it possible with two random effects in lme()?

2013-09-26 Thread Bert Gunter
I suggest you post this to the r-sig-mixed-models list instead. You are much more likely to get useful answers there. Cheers, Bert On Thu, Sep 26, 2013 at 11:25 AM, Bettina Lado Lindner betti...@hotmail.com wrote: Hello, I want two random effect in R. One is BLOQUE nested in REP and the

Re: [R] Is it possible with two random effects in lme()?

2008-02-03 Thread Douglas Bates
On Feb 1, 2008 7:30 AM, Falco tinnunculus [EMAIL PROTECTED] wrote: Dear all, Is it possible with two random effects in lme()? lmefit1- lme(Handling ~ Mass + factor(Prey)+ Mass*factor(Prey), random = ~ 1 |Place+Age) I assume that Place and Age are not nested. If so, it's possible to fit

[R] Is it possible with two random effects in lme()?

2008-02-01 Thread Falco tinnunculus
Dear all, Is it possible with two random effects in lme()? lmefit1- lme(Handling ~ Mass + factor(Prey)+ Mass*factor(Prey), random = ~ 1 |Place+Age) Here I use Place as random effect, but I also want to add Age as a random effect. Since there could be an effect of Age (continous variable), but