Dear R-users, I am trying to use R to calculate sums like the ones in the file attached. Would you please provide some help? At the moment I have no clue about how to due... Thank you in advance, Kind regards, Pedro