I have a dataframe that contains some duplicates, around 100 of them, the data is displayed like this:
Data V1 V2 V3 V4
Cellulomonas uda 0.2 0.0 0.0 0.1
Cellulomonas uda 0.0 0.1 0.3 0.1
But I would like to find all the duplicates in the dataframe and add them together, to give this:
Data V1 V2 V3 V4
Cellulomonas uda 0.2 0.1 0.3 0.2
Is there a function in dplyr which could help with this? Or even a way to add the rows together in Excel and just manually deleting one of the duplicates would be fine.