Hi all,
I am trying to to merge two data.frames(kk and ff)
like

> kk
  a b d
1 1 4 7
2 2 5 8
3 3 6 9

> ff
  a b d
1 2 5 8
2 3 6 9
3 4 7 1

and
g<-rbind(kk,ff)
is working perfectly and giving results
but if any of the column name changed then its giving

"Error in match.names(clabs, names(xi)) :
  names do not match previous names"


like

 > kk
  a b d
1 1 4 7
2 2 5 8
3 3 6 9

> ff
  a b f
1 2 5 8
2 3 6 9
3 4 7 1

and
g<-rbind(kk,ff)

can any one suggest how can I bind by rows

or

is there any way to change the column name in any date frame
this one also heps me

please help me to get the dateframe which combines both

thanks in advance

kiran

        [[alternative HTML version deleted]]

______________________________________________
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