[R] lme nesting/interaction advice
Dieter Menne
dieter.menne at menne-biomed.de
Fri May 9 11:46:48 CEST 2008
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
More information about the R-help
mailing list