[R] contrasts with aov

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Tue Jul 2 08:17:11 CEST 2002

On Mon, 1 Jul 2002, Brad Buchsbaum wrote:

> I'd like to carry out what amounts to a succession of paired t-tests
> across units in a repeated measures design.  I thought I could
> accomplish this using aov with an Error argument and the contr.sdif
> functon from the MASS package. But the "summary" function does not return
> the results of the contrast analysis (as it does with lm).  Is there any
> way to get the kind of table lm produces with a call to summary (e.g.
> Estimate Error t value Pr(t>|t|))?

You can call summary.lm on the objects in the aovlist fit.

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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list