Hello, I'm trying to write code for a repeated measures ANOVA. To put things in perspective, I'll describe my experiment (briefly). I have a 2X2 factorial design with pH (5.5, 6.5) and local community (present, absent) as my treatments. I had plastic enclosures that I sampled across five weeks with the density of 7 species acting as my response variables. I'm analyzing one species at a time and doing Bonferonni corrections after the analysis. I've attached an example of one of my data files showing the treatments and the change in density (of one species) over 5 weeks. Hopefully someone can shed some light on this question: how to write a repeated measures ANOVA code in R? Thanks. Hope to hear soon. Jessie Binks You can email a response to: jbinks at utm.utoronto.ca -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: daphnia2.txt Url: https://stat.ethz.ch/pipermail/r-help/attachments/20030617/a8ab728f/daphnia2.txt
Douglas Bates
2003-Jun-17 17:02 UTC
[R] Re: repeated measures analysis in R [was: (no subject)]
An embedded and charset-unspecified text was scrubbed... Name: binksdata.txt Url: https://stat.ethz.ch/pipermail/r-help/attachments/20030617/57ea9325/binksdata.txt
Dear Jessie, Why don't you try to use already written functions? Probably lme (in package nlme) would be what you need. lme comes with documentation, and there is a whole book devoted to it. Best, Ram?n P.S. It is helpful if you use the "Subject" line, so that people now what your message is about, and so that messages can be stored and searched by subject. On Tuesday 17 June 2003 15:48, Binksjess at aol.com wrote:> Hello, > > I'm trying to write code for a repeated measures ANOVA. To put things in > perspective, I'll describe my experiment (briefly). I have a 2X2 factorial > design with pH (5.5, 6.5) and local community (present, absent) as my > treatments. I had plastic enclosures that I sampled across five weeks with > the density of 7 species acting as my response variables. I'm analyzing > one species at a time and doing Bonferonni corrections after the analysis. > I've attached an example of one of my data files showing the treatments and > the change in density (of one species) over 5 weeks. Hopefully someone can > shed some light on this question: how to write a repeated measures ANOVA > code in R? Thanks. Hope to hear soon. > > Jessie Binks > > You can email a response to: jbinks at utm.utoronto.ca-- Ram?n D?az-Uriarte Bioinformatics Unit Centro Nacional de Investigaciones Oncol?gicas (CNIO) (Spanish National Cancer Center) Melchor Fern?ndez Almagro, 3 28029 Madrid (Spain) Fax: +-34-91-224-6972 Phone: +-34-91-224-6900 http://bioinfo.cnio.es/~rdiaz