[R] manova

Thomas Lumley thomas at biostat.washington.edu
Tue Jun 29 16:50:34 CEST 1999

On Tue, 29 Jun 1999, Peter B. Mandeville wrote:

> I am using rw0641 with Windows 98. In the help for aov it states that the
> formula can sepecify multiple responses for a "maov". The help doesn't give
> an example, Venables and Ripley 1997:381 doesn't either. It isn't mentioned
> in the scripts nor in the section R Complements nor in Rnotes. I tried 
> aov(c(y1,y2,y3)~x) 

You need cbind(y1,y2,y3).  c() pastes vectors into one long vector,
cbind() pastes them into columns of a matrix.

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

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