Hello,

Please use dpu() to post your datasets.
Example:

dput(predict_SO2_b)  # paste the output of this in a post


Hope this helps,

Rui Barradas


Em 01-07-2012 06:33, pigpigmeow escreveu:
i'm not success to insert row in specific location and merge another file

I have a question and I feel confused about the usage of "rbind", "cbind"
and "data.frame)

data 1:
predict_SO2_a
     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
11      11.211306
12      12.400342
13      12.393146
14      13.256160
15      10.709600
16       9.966334
17      28.850652
18      10.024405
data 2:
predict_SO2_b
  [1] 16.931975 18.286223 11.454404  6.256828  7.951174  5.364070  9.675208
7.328439  9.957388 14.603543 14.605044  8.681327  9.450510 10.628049
13.178781 11.757256
[17] 23.820308

when I used "merge" and combine data1 and data2, it showed the error
Error in rbind(deparse.level, ...) : replacement has length zero.
I found the display of these two data are different. I'm confused





--
View this message in context: 
http://r.789695.n4.nabble.com/Insert-row-in-specific-location-between-data-frames-tp4634905p4635020.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@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.


______________________________________________
R-help@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.

Reply via email to