Try na.omit() This will produce the dataset with complite cases.
Kosuke
On Tue, 25 Mar 2003, Chester Lee wrote:
Hello,
I have a lot of NAs in my dataset. Whenever these NAs get involved in
calculations, the answer becomes NA, too. How do I deal with them in R?
I ran logistic regression in STATA and it seems to have some kind of an
algorithm to deal with them - taking them out. I don't think R takes
them out automatically like STATA...
Chester
_______________________________________________
gov2001-l mailing list
gov2001-l(a)fas.harvard.edu
http://www.fas.harvard.edu/mailman/listinfo/gov2001-l