pareto | R Documentation |
Pareto chart
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)
)
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 |
For displaying a pareto chart
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.