Skip to content
Prev 348445 / 398500 Next

Replacing 9999 and 999 values with NA

If you are reading the data frame using for instance read.csv, you can put
in the argument na.string ="9999".
Another way to do that is data[data ==9999] <- NA.

It should be good to tell us how you are reading your dataset.
On Feb 21, 2015 6:49 AM, "Jeff Newmiller" <jdnewmil at dcn.davis.ca.us> wrote: