R combine rows by group. R … I have some data that I would like to summarise.