I have this table I am working on. All I need to do is to sum the rows for countries, that is, I should have one row for Afghanistan that sums all the three rows, one row for Albania.... Is there any way I can do it easily on R? I thought of using the group_by function but it ain't getting me anywhere. Your help is appreciated.

 
    