gdf <- iris %>% group_by(Species)
gdf %>% select(group_cols())
# Remove the grouping variables from mutate selections:
gdf %>% mutate_at(vars(-group_cols()), `/`, 100)
# -> No longer necessary with across()
gdf %>% mutate(across(everything(), ~ . / 100))
Run the code above in your browser using DataLab