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