Re: [R] set the bahavior that R deal with missing values?

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Fri 14 Jul 2006 - 17:50:10 EST

zhijie zhang <epistat <at> gmail.com> writes:

> The default behavior in R when performing a regression model with missing
> values is to exclude any case that contains a
> missing value? How could i set the bahavior that R deal with missing values?

Difficult to say, since there is no such thing as a regression model in R, but certainly more than a few dozens in several packages. Best show a self-contained runnably sample where you would prefer some na.action (see, for example, parameter na.action in lm).

Dieter



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jul 14 17:54:08 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 14 Jul 2006 - 18:14:13 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.