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

John Kane jrkrideau at yahoo.ca
Fri Feb 9 15:01:54 CET 2007


--- Jim Lemon <jim at bitwrit.com.au> wrote:

> 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

Thanks I will try it Monday or so



More information about the R-help mailing list