[R] repeated measurements and lme
jonvaz@stud.ibg.uit.no
jonvaz at stud.ibg.uit.no
Wed Feb 15 12:02:30 CET 2006
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
---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/
More information about the R-help
mailing list