View source: R/md_compute_quantiles.R
md_compute_quantiles_c | R Documentation |
Compute quantiles for microdata with collapse
md_compute_quantiles_c(
welfare,
weight = rep(1, length(welfare)),
n_quantile = 10
)
welfare |
numeric: A vector of income or consumption values. |
weight |
numeric: A vector of weights. Default is a vector of ones, |
n_quantiles |
numeric: Number of quantiles for which share of total income is desired. Default is 10. |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.