[R] nested, repeated measure lme

Christoph Scherber Christoph.Scherber at agr.uni-goettingen.de
Thu Aug 20 11:32:38 CEST 2009

Dear all,

Suppose I have a nested, repeated measure lme model. Which of the following formulae is  correct?
(assuming data are sampled from several plots in an agricultural experiment)

(1) y~explanatory.variables,random=~time|block/plot/subplot/individual
(2) y~explanatory.variables,random=~time|unique.ID.of.every.individual

I have read that (2) is the only approach that works. But how could I then still include the nesting information from (1)?

Many thanks for your help!

Best wishes

(using R 2.9.0 and the nlme library on Windows XP)

Dr. rer.nat. Christoph Scherber
University of Goettingen
DNPW, Agroecology
Waldweg 26
D-37073 Goettingen

phone +49 (0)551 39 8807
fax   +49 (0)551 39 8806

Homepage http://www.gwdg.de/~cscherb1

More information about the R-help mailing list