在R中附加数据 [英] Appending data in R
本文介绍了在R中附加数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
是的。使用 rbind()
命令。
combineddataset = rbind(dataset1,dataset2 )
希望有所帮助。
I am producing a script where I have done many manipulations to a bunch of data and, I do these same manipulations to another dataset. Both data sets have the same rows, columns, and headers. I would like to be able to join the two data sets together where I place dataset A above dataset B. I wouldn't need to headers for dataset B and would instead just clump all of the data together as if they were never really separated in the first place. Is there a simply way to do this?
解决方案
Yes. Use rbind()
command.
combineddataset = rbind(dataset1, dataset2)
Hope that helps.
这篇关于在R中附加数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文