[R] Unbalanced manova

John Fox jfox at mcmaster.ca
Fri Apr 25 14:43:30 CEST 2014


Dear Sergio,

The Anova() function in the car package can perform MANOVA with a multivariate linear model fit to unbalanced data by lm() -- see the examples in ?Anova. I'm not sure what you mean by "avoiding NA values," however. With the default na.action, which is na.omit, lm() will perform a complete-case analysis, omitting cases with NA for any variable in the model.

I hope this helps,
 John

------------------------------------------------
John Fox, Professor
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/


On Fri, 25 Apr 2014 11:17:44 +0200
 Sergio Fonda <sergio.fonda99 at gmail.com> wrote:
> Hello list,
> I would be very grateful if somebody could suggest me which kind of call
> may be used to perform a manova with unbalanced data avoiding NA values.
> Thanks a lot
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list