Description Usage Arguments Value
View source: R/growthConcCurve.R
Makes a Growth Concentration Curve Function out of two income vectors
1 | make_growthConcCurve(x0, x1, w0 = NULL, w1 = NULL, gridIntegration = NULL)
|
x0 |
A vector of incomes for group/time 0 |
x1 |
A vector of incomes for group/time 1 |
w0 |
(optional) A vector of sample weights for group/time 0 |
w1 |
(optional) A vector of sample weights for group/time 1 |
gridIntegration |
(optional) A grid of class 'NIGrid' for multivariate numerical integration (mvQuad package) |
Returns a function which takes a vector of probabilities as inputs (p) and gives points at the Growth Concentration Curve as outputs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.