Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.Lc

Plot Lorenz Curve


Description

plotting method for objects of class "Lc" (Lorenz curves)

Usage

## S3 method for class 'Lc'
plot(x, general=FALSE, lwd=2, xlab="p", ylab="L(p)",
    main="Lorenz curve", las=1, ...)

Arguments

x

an object of class "Lc"

general

logical. If TRUE the generalized Lorenz curve will be plotted

lwd, xlab, ylab, main, las, ...

high-level plot function parameters.

References

B C Arnold: Majorization and the Lorenz Order: A Brief Introduction, 1987, Springer,

F A Cowell: Measurement of Inequality, 2000, in A B Atkinson / F Bourguignon (Eds): Handbook of Income Distribution, Amsterdam,

F A Cowell: Measuring Inequality, 1995 Prentice Hall/Harvester Wheatshef.

See Also

Examples

## Load and attach income (and metadata) set from Ilocos, Philippines
data(Ilocos)
attach(Ilocos)
## extract and rescale income for the provinces "Pangasinan" und "La Union"
income.p <- income[province=="Pangasinan"]/10000
income.u <- income[province=="La Union"]/10000
## compute the Lorenz curves
Lc.p <- Lc(income.p)
Lc.u <- Lc(income.u)
## plot both Lorenz curves
plot(Lc.p)
lines(Lc.u, col=2)

ineq

Measuring Inequality, Concentration, and Poverty

v0.2-13
GPL-2 | GPL-3
Authors
Achim Zeileis [aut, cre], Christian Kleiber [ctb]
Initial release
2014-07-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.