Description Usage Arguments Value Note Author(s) Examples
function to create a pareto chart.
1 2 | paretoChart(x, weight, showTable = TRUE, las = 0, main, col, border, xlab,
ylab = "Frequency", percentVec, ...)
|
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. |
las |
graphical parameter. Numeric in 0,1,2,3 giving the style of axis labels (see: |
main |
an overall title for the plot: see |
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: |
ylab |
a title for the y axis: |
percentVec |
numerical vector giving the position and values of tick marks for percentage axis. |
... |
further graphical parameters. |
paretoChart
returns a data.frame
of percentages.
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.
Thomas Roth thomas.roth@tu-berlin.de
1 2 3 4 | #artifical defects dataset
defects = LETTERS[runif(80, 1, 10)]
#paretoChart of the defects
paretoChart(defects)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.