Usage
lorenz.curve(data, weight=NULL, mul=FALSE, plot.it=TRUE, main=NULL, xlab=NULL, ylab=NULL, xlim=c(0,1), ylim=c(0,1), ... )
Arguments
data
input data. If the argument is an array, a matrix, a data.frame, or a list with two or more
columns, then the first column will be a treated as a data vector, and the second column to be
treated as a weight vector. A separate weight vector is then ignored and not required.
If the argument is a single column vector, then a user must enter a separate single-column weight vector.
NA or character is not allowed.
weight
single column vector contains factors of single or multiple weights. Ignored if already included in
the data argument. NA or character is not allowed.
mul
logical value indicates whether the Lorenz Curve with multiple weight is to be plotted. Default is single.
plot.it
logical value indicates whether the Lorenz Curve should be plotted on screen. Default is to plot.
main
Title of Lorenz Curve. Only required if user wants to override the default value.
xlab
label of x-axis. Only required if user wants to override the default value.
ylab
label of y-axis. Only required if user wants to override the default value.
xlim
plotting range of x-axis. Only required if user wants to override the default value.
ylim
plotting range of y-axis. Only required if user wants to override the default value.
...
other graphical parameters to be passed to the plot
function.