Similar to 'group_summary' function, this one computes the rank of each value in order to quickly know what is the value in each segment that has the highest value (rank=1). 1 represents the highest number. It will exclude all factor/character variables.
group_summary_rank(data, group_var, group_func = mean)
Grouped data frame, showing the rank instead of the absolute values.
Input data source.
Variable to make the group by.
Function to be used in the group by. Default is mean.