pareto: Pareto chart

View source: R/pareto.R

paretoR Documentation

Pareto chart

Description

Pareto chart

Usage

pareto(
  x,
  names.arg = c(),
  bar.col = "cyan",
  line.col = "red",
  pch = 16,
  h = 80,
  h.lty = 3,
  main = "",
  xlab = "Defauts",
  ylab = "Frequence (%)",
  ylab2 = "Cumul",
  mar = c(5, 4, 3, 4)
)

Arguments

x

A vector

names.arg

Vector description

bar.col

Color of the bars of the barplot

line.col

Color of the cumul line

pch

Color of points of the cumul line

h

Horizontal value (80 percent by default)

h.lty

lty of horizontal line

main

Title

xlab

X title

ylab

Y title

ylab2

Y title of cumul

mar

Marging

Value

For displaying a pareto chart

Examples

valeurs = c(20,10,12,5,2,80)
description = c("Para1","Para2","Para3","Para4","Para5","Para6")
pareto(valeurs,main="Diagramme de Pareto", names.arg=description, bar.col="blue")

Antoine-Masse/KefiR documentation built on Feb. 22, 2024, 5:54 a.m.