将数据帧合并在另一个数据帧的底部 [英] combine dataframe in the bottom of another dataframe
本文介绍了将数据帧合并在另一个数据帧的底部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想结合这两个数据框架。
What I would like to combine both of this below dataframe.
> am_R3_1
Group.2 x.x x.y
2 clearterminate 3 21
3 display.cryptic 86 30.1279069767442
4 price 71 898
41 AM 160 316.375968992248
> am_R3_2
Group.2 x.x x.y
1 ping 1 5
2 1Y 1 5
我希望得到所有Group1的下面的最终结果。请指导我可以使用哪个功能获得以下结果?
I would like to get the final result smiliar to below for all Group.1 . Please advise which function I can use to get the following result ?
Group.2 x.x x.y
2 clearterminate 3 21
3 display.cryptic 86 30.1279069767442
4 price 71 898
41 AM 160 316.375968992248
1 ping 1 5
2 1Y 1 5
推荐答案
我相信你想要 rbind
result<-rbind(am_R3_1, am_R3_2)
这篇关于将数据帧合并在另一个数据帧的底部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文