Skip to content
Prev 260762 / 398502 Next

how to eliminate first row in datafile created in do loop

Gregory:

My suggestion omitted the "i.value" column you'd mentioned, but the
version below includes it. Note, the row names are simpler in this variant
than in yours (I assume that's where the "one.months" are showing up).
+     some.data <- rnorm(2)
+   lower <- min(some.data)
+   upper <- max(some.data)
+   one.month <- data.frame(i.value=i, lower, upper)
+   limit.list <- rbind(limit.list, one.month)
+ }
i.value        lower      upper
1        1 -0.006352885  0.1894010
2        2 -1.457983914 -0.5069830
3        3 -0.106285443  0.4837501
4        4 -1.400419065  1.1374100
5        5 -1.332467138 -0.2266373
6        6  0.652510501  1.8829133
7        7 -1.630929209  0.1456977
8        8 -0.424020281  0.3734382
9        9  0.028015806  1.1767302
10      10  0.380922792  0.9623795
11      11  1.026495439  1.6750991
12      12  0.194633578  0.6910900
On 5/24/11 10:38 AM, "Graves, Gregory" <ggraves at sfwmd.gov> wrote: