View source: R/merge-decomposition.R
decompose_population | R Documentation |
Given an output of merge_dist
and a list of fractiles,
gives the population composition in terms of origin distribution
for each bracket .
decompose_population(dist, p, ...)
dist |
An object of class |
p |
A numeric vector of fractiles in [0, 1[. |
... |
Ignored. |
A data.frame
with the following columns:
The fractiles defining the brackets.
The population share of the first merged distribution.
The population share of the second merged distribution.
The population share of the other merged distribution.
Thomas Blanchet, Juliette Fournier, Thomas Piketty
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.