ineqExplained.lm: Explained inequality metrics for (generalized) linear models

View source: R/ineqExplained.R

ineqExplained.lmR Documentation

Explained inequality metrics for (generalized) linear models

Description

Retrieves the explained Gini coefficient or the Lorenz-R^2 from an object of class "lm".

Usage

## S3 method for class 'lm'
ineqExplained(object, type = c("Gini.explained", "Lorenz-R2"), ...)

Arguments

object

An object of S3 class "lm".

type

Character string specifying the type of inequality metric to retrieve. Options are "Gini.explained" (for the explained Gini coefficient) and "Lorenz-R2" (for the Lorenz-R^2).

...

Additional arguments passed to Gini.coef.

Value

A numeric value representing the requested inequality metric.


LorenzRegression documentation built on June 27, 2025, 9:07 a.m.