generate_tabulation: Generate a tabulation of a distribution

View source: R/generate-tabulation.R

generate_tabulationR Documentation

Generate a tabulation of a distribution

Description

Generate a tabulation with shares, averages and thresholds at different points of the distribution. This methods avoid redundant computations compared with using the dedicated function for each quantity.

Usage

generate_tabulation(dist, fractiles, ...)

Arguments

dist

An object of class gpinter_dist_orig, gpinter_dist_indiv, gpinter_dist_addup or gpinter_dist_merge.

fractiles

A vector of values in [0, 1[.

...

Ignored.

Value

A data frame with a row for each fractile and a column for each statistic.

Author(s)

Thomas Blanchet, Juliette Fournier, Thomas Piketty


thomasblanchet/gpinter documentation built on Aug. 27, 2024, 3:11 p.m.