paretoChart: Pareto Chart

Description Usage Arguments Value Note Author(s) Examples

Description

function to create a pareto chart.

Usage

1
2
paretoChart(x, weight, showTable = TRUE, las = 0, main, col, border, xlab, 
            ylab = "Frequency", percentVec, ...)

Arguments

x

vector of qualitative values.

weight

vector with weights for x (not yet implemented!)

showTable

logical value specifing whether a frequeny table will be added above the graph.
By default showTable is set to ‘TRUE’.

las

graphical parameter. Numeric in 0,1,2,3 giving the style of axis labels (see: par).

main

an overall title for the plot: see title.

col

numerical value or character string defining the fill-color of the bars.

border

numerical value or character string defining the border-color of the bars.

xlab

a title for the x axis: title.

ylab

a title for the y axis: title.

percentVec

numerical vector giving the position and values of tick marks for percentage axis.

...

further graphical parameters.

Value

paretoChart returns a data.frame of percentages.

Note

For an example which shows the usage of the function paretoChart() please read the vignette for the package qualityTools at http://www.r-qualitytools.org/html/Define.html.

Author(s)

Thomas Roth thomas.roth@tu-berlin.de

Examples

1
2
3
4
#artifical defects dataset
defects = LETTERS[runif(80, 1, 10)]
#paretoChart of the defects
paretoChart(defects) 

qualityTools documentation built on May 2, 2019, 10:21 a.m.