
Function to compute the distribution function of a variable.
compute_density.RdFunction to compute the distribution function of a variable.
Arguments
- .data
A data frame.
- group_col
A character vector of column names to group the data by.
- measure_col
The name of the column for which the percentile values will be computed.
- binwidth
The width of the bins for grouping the measure values (default is 1).
- latest_measure
A logical value indicating whether to return only the measures for the latest reference date.