ABCanalysisPlot {ABCanalysis} | R Documentation |
Displays ABC plot with ABCanalysis
Description
Displays ABC Curve : cumulative percentage of largest Data (effort) vs cumlative percentage of sum of largest data (yield) with set limits generated by an calculated ABCanalysis.
Usage
ABCanalysisPlot(Data, LineType = 0, LineWidth = 3,
ShowUniform = TRUE,title, limits = TRUE, MarkPoints = TRUE,
ABCcurvedata,ResetPlotDefaults=TRUE)
Arguments
Data |
vector[1:n] describes an array of data: n cases in rows of one variable |
LineType |
integer, optional, for plot default: LineType=0 for solid line; for other line codes see documentation about pch |
LineWidth |
integer, optional, width of Line, see |
ShowUniform |
boolean, optional, the ABC curve of the uniform distribution is shown in plot if TRUE (default) |
title |
string, optional, see parameter |
limits |
boolean, = TRUE, lines of division in A, B and C are drawn, default = FALSE |
MarkPoints |
boolean, optional, default= TRUE, Mark the three points of interest |
ABCcurvedata |
optional, see ABCcurve |
ResetPlotDefaults |
optional, default =TRUE. If ResetPlotDefaults=FALSE, multiple plots in one window possible, but no resetting of plot to default parameters. |
Value
object is a list of items with
ABC |
Output of ABCplot |
ABCanalysis |
Output of ABCanalysis |
Note
The Break Even point is always marked with a green star.
The diagonal from (0,1) to (1,0) is the equilibrium, where effort equals yield.
Author(s)
Michael Thrun
http://www.uni-marburg.de/fb12/datenbionik
See Also
Examples
## Standard Example
data("SwissInhabitants")
abc=ABCanalysisPlot(SwissInhabitants)
## Multiple plots in one Window:
m=runif(4,100,200)
s=runif(4,1,10)
Data=sapply(1:4,FUN=function(x,m,s) rnorm(1000,m,s),m,s)
# windows() #screen devices should not be used in examples etc
par(mfrow=c(2,2))
for (i in 1:4)
{
ABCanalysisPlot(Data[,i],ResetPlotDefaults=FALSE)
}