Description Usage Arguments Value
Makes a Lorenz Curve Function out of a income vector
1 | make_quantileFunc(x, w = NULL)
|
x |
A vector of incomes |
w |
(optional) A vector of sample weights |
Returns a function which takes a vector of probabilities as inputs (p) and gives points at the Lorenz Curve as outputs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.