rename group.by group and group.by.f group.f
clearer, add example