Learn R Programming

qualityTools (version 1.31.1)

paretoChart: Pareto Chart

Description

function to create a pareto chart

Usage

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
TRUE/FALSE - frequency table within window
las
graphical parameter
main
graphical parameter
col
graphical parameter
border
graphical parameter
xlab
graphical parameter
ylab
graphical parameter
percentVec
numeric - tick marks for percentage axis
...
further graphical parameters

Value

  • data.frame of percentages

Examples

Run this code
defects = LETTERS[runif(80, 1, 10)]#artifical defects dataset
paretoChart(defects) #paretoChart of the defects

Run the code above in your browser using DataLab