[R] setting a number of values to NA over a data.frame.

Jim Lemon jim at bitwrit.com.au
Thu Feb 8 10:29:25 CET 2007


John Kane wrote:
> This is probably a simple problem but I don't see a
> solution.
> 
> I have a data.frame with a number of columns where I
> would like 0 <- NA
> 
Hi John,
You might have a look at "toNA" in the prettyR package. Wait for version 
1.0-4, just uploaded, as I have fixed a bug in that function.

Jim



More information about the R-help mailing list