[R] Manova and specifying the model

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon May 24 08:26:33 CEST 2004


See the examples in ?summary.manova, please.

Y <- cbind(tear, gloss, opacity)

shows how to make a multiple response.

On Mon, 24 May 2004, Stefanie von Felten wrote:

> I would like to conduct a MANOVA. I know that there 's the manova()
> funciton and the summary.manova() function to get the appropriate
> summary of test statistics.
> 
> I just don't manage to specify my model in the manova() call. How to
> specify a model with multiple responses and one explanatory factor?
> 
> If I type:
> pcor.manova<-manova(isol+hcom+habarea+inclin+windprot+shrubcov+herbh+baregr+flowcov~pcor, data=pcor.df)
> 
> I always get error messages like:
> Error in manova(isol + hcom + habarea + inclin + windprot + shrubcov +  : 
>         need multiple response


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




More information about the R-help mailing list