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

From: Dieter Menne <>
Date: Fri 14 Jul 2006 - 17:50:10 EST

zhijie zhang <epistat <at>> 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 mailing list PLEASE do read the posting guide! 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 Please read the posting guide before posting to the list.