Displaying 2 results from an estimated 2 matches for "topdata".
2012 Jun 29
5
Insert row in specific location between data frames
...row
that is ..
predict_SO2_a
1 39.793231
2 30.252578
3 32.467584
4 31.941509
5 27.908320
6 11.594137
7 9.368125
8 12.319093
9 11.558811
10 NA
....
and it becomes 19 rows in this data.
however, I can't do this. my scipt is following
topdata <- predict_SO2_a[1:10,]
bottomdata <- predict_SO2_a[11:nrow(predict_SO2_a),]
nadata <- data.frame(NA)
d1 <- rbind(topdata,nadata)
d2 <- rbind(d1, bottomdata)
what is my problem?!
Thank in advance!
--
View this message in context: http://r.789695.n4.nabble.com/Insert-row-in-spec...
2009 Aug 20
2
Insert rows in between dataframes
Hi all,
Can anyone suggest me how to insert rows in between data frames and also
keep the ordering of row numbers correct?
Estimate Std. Error t
value Pr(>|t|)
recmeanC2 9.275880e-17 6.322780e-17 1.467057e+00
0.14349903
recmeanC3 1.283534e-17 2.080644e-17 6.168929e-01
0.53781390