Federico Calboli <f.calboli <at> imperial.ac.uk> writes: > > Hi everyone, > > I am confused on how to specify some nesting and interaction terma with lme(). > > lme(y ~ selection * males, random = ~1|replica/selection/males, mydata)
Note that random can be a list: "a one-sided formula of the form ~x1+...+xn, or a pdMat object with a formula (i.e. a non-NULL value for formula(object)), or a list of such formulas or pdMat objects. " Dieter ______________________________________________ R-help@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.