ABCplot {ABCanalysis} | R Documentation |
displays an ABC Curve as an alternative to an Lorenz curve
Description
Plots cumulative percentage of largest data (effort) vs. cumulative percentage of sum of largest data (yield)
Usage
ABCplot(Data, LineType = 0, LineWidth = 3, ShowUniform = TRUE,
title, ABCcurvedata,defaultAxes = TRUE)
Arguments
Data |
vector[1:n], describes an array of data: n cases in rows of one variable |
LineType |
for plot default: LineType=0 for a line, other line codes see documentation about |
LineWidth |
integer, width of Line, see |
ShowUniform |
bool, =TRUE: the ABC curve of the uniform distribution is shown in plot |
title |
string, optional, see parameter |
ABCcurvedata |
optional, see ABCcurve |
defaultAxes |
optional, boolean, see parameter |
Value
Output is of type list which parts are described in the following
ABCx |
vector [1:k], cumulative population in percent |
ABCy |
vector [1:k], cumulative high Data in percent |
Note
The diagonal from (1,0) to (0,1) is the Equilibrium, where effort equals yield
Author(s)
Michael Thrun
http://www.uni-marburg.de/fb12/datenbionik
Examples
data("SwissInhabitants")
vec=ABCplot(SwissInhabitants)