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

From: Falco tinnunculus <kestrel78_at_gmail.com>
Date: Fri, 1 Feb 2008 14:30:38 +0100


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 I like to control for it rather than locking at the effect of Age on handling time, since Mass and Prey type are of main interest.

Regards Kes,

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 01 Feb 2008 - 13:33:18 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 03 Feb 2008 - 16:30:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive