Description Usage Arguments References See Also Examples
plotting method for objects of class "Lc"
(Lorenz curves)
1 2 3 |
x |
an object of class |
general |
logical. If TRUE the generalized Lorenz curve will be plotted |
lwd, xlab, ylab, main, las, ... |
high-level |
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.
1 2 3 4 5 6 7 8 9 10 11 12 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.