[Rd] [R] repeated measurements and lme

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Feb 15 13:05:35 CET 2006

Please do not post to multiple lists.  In this case R-help was more 
appropriate, but studying the posting guide was even more appropriate 
since you have not given enough information and the question is really 
statistical consulting not R.

On Wed, 15 Feb 2006, jonvaz at stud.ibg.uit.no wrote:

> I am trying to do a repeated measurement anova using an lme. I have the
>    following variables:
>    -ID, the identification of the individual
>    -trail, with 2 levels
>    -treatment, with 3
>    -time, measure 5 times the same individual
>    -VCL, the response variable
>    I tried the following in R,
>    within.gr<-groupedData(VCL~time|ID/treatment/time,data=within)
>    summary(lme(fixed=VCL~time*treatment,random=~1,data=within.gr))
>    I am not sure if it is correct at all. Can anyone help me? It will be very
>    helpful.
>    Sincerely,
>    Jonathan
> Vaz

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-devel mailing list