Displaying 2 results from an estimated 2 matches for "cimfasy_rwl".
2008 Jun 27
2
NA value
I'm trying to replace NA with 0 value...
I've write a loop, but don't work...
Where's the problem?
> cimfasy_rwl
1991 0.92 0.72 0.50 1.29 0.54 1.22
1992 2.15 1.28 1.23 2.26 1.22 3.17
1993 1.50 0.87 1.68 1.97 0.83 2.55
1994 0.69 0.00 0.76 1.89 0.60 0.87
1995 1.13 1.04 1.19 1.52 1.13 1.78
1996...
2008 Jun 25
1
a loop....
...; library(dplR)
> files.rwl <- system("ls *.rwl", intern=TRUE) > files.rwl
[1] "cimfasy.rwl" "rocquce.rwl"
> for (i in files.rwl) assign(gsub("\\.rwl$", "_rwl", i), read.rwl(i, header=0))
There are 70 series
There are 21 series
>
> cimfasy_rwl
1990 1.55 0.00 1.59 1.94 0.99 2.14
1991 0.92 0.72 0.50 1.29 0.54 1.22
1992 2.15 1.28 1.23 2.26 1.22 3.17
1993 1.50 0.87 1.68 1.97 0.83 2.55
1994 0.69 0.00 0.76 1.89 0.60 0.87
199...