Re: [R] Linear Mixed Models with nlme, more than one random effect Guilio, Have a look at Rnew volume 5/1 (http://cran.r-project.org/doc/Rnews/) whereSpie Bates explains this nicely. Condider using lme4 for your purpose. Joris                                                                                         "Giulio Di                                                                 Giovanni"                                                                                 r-help@stat.math.ethz.ch                         Sent by:                                                   cc              r-help-bounces@st                                                          at.math.ethz.ch                                       Subject                                        [R] Linear Mixed Models with nlme,                                         more than one random effect                      20/06/2007 14:09                                                                                                                                                                                                                                                                                                                                                                                                                                      Hi, I' trying to learn how to use lme for Linear Mixed Models  and I have a problem when I have to include more than one random effect in my model. Iknow that this could be a stupid question to ask, but I'm not able to solve it by myself... One example: if my model is response = operator + block + daywith operator and block as fixed effects and day as random effect, I use res.lme <- lme(resp ~ oper + block , random=~1|day) If I want to include also another random effect, as "experiment", what Ishould do ?This effect doesn't have to be nested, at the and I would like to have theCOV matrix using (if I'm not wrong) getVarCov function. Thanks in advance for any help or suggestions, I'm a beginner on thisfield... Davide _________________________________________________________________Cinema, Tv, Gossip e Orsoscopoâ¦Tutto su MSN intrattenimento! ______________________________________________R-help@stat.math.ethz.ch mailing listhttps://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guidehttp://www.R-project.org/posting-guide.htmland provide commented, minimal, self-contained, reproducible code. ______________________________________________R-help@stat.math.ethz.ch mailing listhttps://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guide http://www.R-project.org/posting-guide.htmland provide commented, minimal, self-contained, reproducible code.