[R] Replacing 0s with NA

Christine Griffiths Christine.Griffiths at bristol.ac.uk
Fri Jun 12 10:55:23 CEST 2009


Hello

I have a dataset in which I would like to replace 0s with NAs. There is a 
lot of information on how to replace NAs with 0, but I have struggled to 
find anything with regards to doing the reverse. Any recommendations would 
be great.

Cheers
Christine




More information about the R-help mailing list