Update group-by.r
Merge pull request #472 from ijlyttle/patch-1

Update group-by.r