Lorenz.graphs {LorenzRegression}R Documentation

Graphs of concentration curves

Description

Lorenz.graphs traces the Lorenz curve of a response and the concentration curve of the response and each of a series of covariates.

Usage

Lorenz.graphs(formula, data, difference = FALSE, ...)

Arguments

formula

A formula object of the form response ~ other_variables.

data

A dataframe containing the variables of interest

difference

A logical determining whether the vertical axis should be expressed in terms of deviation from perfect equality. Default is FALSE.

...

Further arguments (see Section 'Arguments' in Lorenz.curve).

Value

A plot comprising

See Also

Lorenz.curve, Gini.coef

Examples

data(Data.Incomes)
Lorenz.graphs(Income ~ Age + Work.Hours, data = Data.Incomes)
# Expressing now the vertical axis as the deviation from perfect equality
Lorenz.graphs(Income ~ Age + Work.Hours, data = Data.Incomes, difference = TRUE)


[Package LorenzRegression version 2.1.0 Index]