[R] NA value

Alfredo Alessandrini alfreale74 at gmail.com
Fri Jun 27 17:55:35 CEST 2008


>    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



More information about the R-help mailing list