Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: plot
See also: lorenz

Quantlet: plotlorenz
Description: plots a Lorenz curve

Reference(s):

Usage: plotlorenz(X)
Input:
X (must be positive) n x 1 vector of original data or n x 2 matrix of classified data: first column = class means second column = frequencies.

Example:

library("plot")

x = normal(200)

x = abs(x)

plotlorenz(x)

y = 1:5 ~ #(2,6,8,5,2)

plotlorenz(y)

Result:

shows Lorenz curves and Gini coefficients


Library: plot
See also: lorenz

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: Dandy Kleybrink, 990628; Knut Bartels, 990921
(C) MD*TECH Method and Data Technologies, 21.9.2000