ineqExplained: Retrieve a measure of explained inequality from a model
Description
This generic function extracts a measure of explained inequality, such as the explained Gini coefficient or the Lorenz-R2, from a fitted model object.
Usage
ineqExplained(object, type = c("Gini.explained", "Lorenz-R2"), ...)
Value
The requested inequality metric.
Arguments
- object
An object for which the inequality metrics should be extracted.
- type
Character string specifying the type of inequality metric to retrieve. Options are "Gini.explained"
for the explained Gini coefficient or "Lorenz-R2"
for the Lorenz-\(R^2\).
- ...
Additional arguments passed to specific methods.
Examples
Run this code## For examples see example(Lorenz.Reg)
Run the code above in your browser using DataLab