Description Usage Arguments Value
View source: R/concentration.R
Makes a Concentration Curve Function
1 | make_concentrationCurve(x, y, w = NULL)
|
x |
A vector of a income source |
y |
The vector of total income (according to which the income source x will be sorted) |
w |
(optional) A vector of sample weights |
Returns a function which takes a vector of probabilities as inputs (p) and gives points at the Concentration Curve as outputs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.