Merge two data frames together that have the same variable names and data types

后端 未结 1 973
夕颜
夕颜 2021-01-11 19:49

I have tried the merge function to merge two csv files that I imported. They both have the same variable names and data types but each time I run merge all that

相关标签:
1条回答
  • 2021-01-11 20:07

    I am guessing that you actually want to rbind the data.frames, rather than merging them?

    Try:

    obj <- rbind(obj1, obj2)
    

    merge() is really used to do the equivalent of a JOIN in SQL.

    0 讨论(0)
提交回复
热议问题