[R] problem with rbind

kayj kjaja27 at yahoo.com
Sat Aug 23 00:02:20 CEST 2008



I am trying to use rbind to have the two data on the top of each other but I
am getting an extra X on the column header and the rows are numberd , How to
get rid of this problem? I appreciate your help



x1<- read.table(file="data1.txt", header=T, sep="\t")
 x2<-read.table(file="data2.txt", header=T, sep="\t")
 y<-rbind(x1,x2)
> y
    X0   X0.0.05  X0.05.0.1  X0.1.0.2  X0.2.0.3  X0.3.0.4  X0.4.0.5
1  0.1971 0.108 0.1 0.1 0.156 0.38 0.22
2  0.2024 0.106 0.0 0.1 0.15 0.1408173 0.55
>

-- 
View this message in context: http://www.nabble.com/problem-with-rbind-tp19116234p19116234.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list