ABCplot: displays an ABC Curve as an alternative to an Lorenz curve

Description Usage Arguments Value Note Author(s) Examples

View source: R/ABCplot.R

Description

Plots cumulative percentage of largest data (effort) vs. cumulative percentage of sum of largest data (yield)

Usage

1
2
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 pch in par

LineWidth

integer, width of Line, see lwd in par

ShowUniform

bool, =TRUE: the ABC curve of the uniform distribution is shown in plot

title

string, optional, see parameter main in plot

ABCcurvedata

optional, see ABCcurve

defaultAxes

optional, boolean, see parameter axes in plot

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

1
2
data("SwissInhabitants")
vec=ABCplot(SwissInhabitants)

Mthrun/ABCanalysis documentation built on May 29, 2019, 10:52 a.m.