[R] multiple numerical variables in aov
rg117 at yahoo.co.uk
Fri Apr 11 16:07:27 CEST 2003
Thanks very much for your help. Just a follow up question..
Like I said I was using aov() instead of anova(). I want to maintain maximum compatability with
what I've been using so far and I notice that manova() is just a wrapper to aov(). How important
is it to use summary(......, test="Wilks") exactly, do you think that the default test statistic
would be sufficient.
Once again, many thanks for your help.
--- Chuck Cleland <ccleland at optonline.net> wrote: > Rishabh Gupta wrote:
> > I want something like
> > aov(v1 + v2 + v3 ~ g)
> > Essentially I want to find out whether the variables v1, v2, v3, etc can collectively
> > between different values of variable g. Could somebody tell whether this is possible and if so
> > how?
> With v1, v2, v3, and g in the dataframe mydata, try the following:
> summary(manova(cbind(v1, v2, v3) ~ g, data = mydata), test="Wilks")
> hope it helps,
> Chuck Cleland
More information about the R-help