[R] repeated measures ANOVA

John Fox jfox at mcmaster.ca
Fri Jan 30 22:47:56 CET 2015

Dear John,

> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of John
> Sorkin
> Sent: January-30-15 3:43 PM
> To: r-help at r-project.org
> Subject: [R] repeated measures ANOVA
> Windows 7, R 3.1.0
> How does one run repeated measures ANOVA using R for
> (1) A balanced design
> (2) An unbalanced design.
> so that one will get an ANOVA table?
> I have seen references to the Anova function in the car package, but this
> seems to have been deprecated.

I'm not sure why you would think that the Anova() function in the car
package is deprecated. Install the car package and look at ?Anova. You'll
see several examples, including of a repeated-measures ANOVA. As well,
there's a paper on the topic in the R Journal, at

I hope this helps,

John Fox, Professor
McMaster University
Hamilton, Ontario, Canada

> Thank you,
> John
> John David Sorkin M.D., Ph.D.
> Professor of Medicine
> Chief, Biostatistics and Informatics
> University of Maryland School of Medicine Division of Gerontology and
> Geriatric Medicine Baltimore VA Medical Center
> 10 North Greene Street
> GRECC (BT/18/GR)
> Baltimore, MD 21201-1524
> (Phone) 410-605-7119
> (Fax) 410-605-7913 (Please call phone number above prior to faxing)
> Confidentiality Statement:
> This email message, including any attachments, is for ...{{dropped:19}}

More information about the R-help mailing list