aov does not. It's na.action argument does. It is dscribed on the help
page for lm, which ?aov refers to.
BTW, missing values in R are not the same thing as NaNs, but for this
purpose NaNs are treated as missing.
On Fri, 5 Jul 2002, Jan Malte Wiener wrote:
> hi,
> another anova question !!
> how does aov() treat missing values ?
>
> since it might depend on my experimental design:
> i have a within subject design with two factors ...
>
> i use aov() like this:
>
> aov(performance~type*block+Error(subj/(type+block)),data=anovaData)
>
> now it might happen that i have a couple of NaN data points in my result
> dataFrame.
> how can i know/control how aov() is treating those missing values ?
>
> greetinx jan
>
>
>
>
>
>
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>
--
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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._