[R] repeated measures ANOVA (was (no subject))

Ramon Diaz rdiaz at cnio.es
Wed Jun 18 09:43:19 CEST 2003


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




More information about the R-help mailing list