Learn R Programming

acid (version 1.1)

pens.parade: Pen's Parade

Description

This function plots Pen's parade.

Usage

pens.parade(x, bodies = TRUE, feet = 0, ...)

Arguments

x
a vector of observed incomes.

bodies
a logical value indicating whether lines, i.e. the bodies, should be drawn.

feet
a numeric value indicating where the lines originate.

...
additional arguments passed to the plot function.

References

Atkinson, A.B. (1975): The Economics of Inequality, Cleardon Press, Oxford.

Examples

Run this code
a.test<- 4
b.test<- 20000
p.test<- 0.7
q.test<- 1
alpha.test<-1
GB2sample<-rGB2(100,b.test,a.test,p.test,q.test)
pens.parade( GB2sample)

Run the code above in your browser using DataLab