Re: [R] NA value

From: Alfredo Alessandrini <alfreale74_at_gmail.com>
Date: Fri, 27 Jun 2008 17:55:35 +0200

> for (i in files_rwl) {
> thisfile <- get(i)
> thisfile[is.na(thisfile)] <- 0
> assign(i, thisfile)
> }
>
> It's likely that you could condense it, but using the long form makes it
> clear what's happening.

..it's work....

Thanks...

Alfredo



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 27 Jun 2008 - 15:58:39 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 27 Jun 2008 - 16:30:44 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive