View source: R/md_compute_quantiles.R
md_compute_median | R Documentation |
Compute median for microdata
md_compute_median(welfare, weight = rep(1, length(welfare)), lorenz = NULL)
welfare |
numeric: A vector of income or consumption values. |
weight |
numeric: A vector of weights. Default is a vector of ones |
lorenz |
numeric: Output from |
numeric
md_compute_median(welfare = 1:2000, weight = rep(1, 2000))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.