Date: Tue, 29 Jun 1999 07:50:34 -0700 (PDT)
From: Thomas Lumley <thomas@biostat.washington.edu>
To: "Peter B. Mandeville" <mandevip@uaslp.mx>
Subject: Re: [R] manova
In-Reply-To: <3.0.5.16.19990629034658.224f1cc0@deimos.tc.uaslp.mx>
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._