How to plot Pareto Chart in R?

Description

How to plot a Pareto Chart using R programming.

Pareto Chart:

  • A Pareto chart is a barplot where the
    categories are ordered in non
    increasing order
  • A line is also added to show the
    cumulative sum(cumulative sum is
    similar to Fibonacci series)
  • R Package : qcc
  • R Function :chart()

#Pareto Chart

#Vector Input
x<-c(34,56,23,87,45,87,64,78,566,566)

#Sorting the vector in desending order
input<-sort(x,decreasing = TRUE)
print(input)

Leave Comment

Your email address will not be published. Required fields are marked *

clear formSubmit