merge .csvs based on common column but of inconsistent length
问题 Afternoon (or morning, evening) I am trying to merge several .csv files that have a similar layout, they have a class in one column ( character ) and an abundance ( num ) in another. When imported as a data.frame example would be: print(one[1:5,]) X Class Abundance_inds 1 1 Chaetognath 2 2 2 Copepod_Calanoid_Acartia_spp 9 3 3 Copepod_Calanoid_Centropages_spp 4 4 4 Copepod_Calanoid_Temora_spp 1 5 5 Copepod_Calanoid_Unknown 55 The class column ( number of rows and order ) changes every csv