group_summary_rank: Group Summary Rank

View source: R/group_summary_rank.R

group_summary_rankR Documentation

Group Summary Rank

Description

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.

Usage

group_summary_rank(data, group_var, group_func = mean)

Arguments

data

Input data source.

group_var

Variable to make the group by.

group_func

Function to be used in the group by. Default is mean.

Value

Grouped data frame, showing the rank instead of the absolute values.


vvconverter documentation built on June 22, 2024, 10:53 a.m.