paretochartMenu: Menu option to make a Pareto chart

View source: R/qualitycontrol.R

paretochartMenuR Documentation

Menu option to make a Pareto chart

Description

Within the menu "Quality Control" -> "Pareto Chart", a new entry is provided to make a Pareto chart in which a factor type variable is represented in decreasing order of frequencies. This graph is often used to identify the most common causes of a failure. This option uses the paretochart function from the qicharts2 package. For more information see paretochart.

Details

Here is an example of "Pareto chart" menu entry.

Load data "hospital_infections" selecting from Rcmdr menu: "Data" -> "Data in packages" -> "Read data set from an attached package..." then double-click on "quicharts2", click on "hospital_infections" and on "OK". Rcmdr reply with the following command in source pane (R Script)

data(hospital_infections, package="qicharts2")

To build a Pareto chart on variable "infection", select from Rcmdr menu: "Quality Control" -> "Pareto chart" select "infection" and "OK". Rcmdr reply with the following command in source pane (R Script)

with(hospital_infections, paretochart(infection))

and the graph is plotted in another window.

Author(s)

Manuel Munoz-Marquez <manuel.munoz@uca.es>

See Also

For more information see Rcmdr-package.

Para ayuda en español, véase Gráfico de Pareto (es). (For Spanish help see Gráfico de Pareto (es).)


RcmdrPlugin.UCA documentation built on May 10, 2023, 3 a.m.