xbar-chartStatistical process control provides a mechanism for measuring, managing, and controlling processes. There are many different flavors of control charts, but if data are readily available, the X-Bar/R approach is often used. The following PDF describes X-Bar/R charts and shows you how to create them in R and interpret the results, and uses the fantastic qcc package that was developed by Luca Scrucca. Please let me know if you find it helpful!

Creating and Interpreting X-Bar/R Charts in R

5 responses to “Control Charts in R: A Guide to X-Bar/R Charts in the qcc Package”

  1. Mark McCormick Avatar
    Mark McCormick

    Thank you for this excellent getting started guide. Very clear, complete and easy to follow.

  2. Marco Avatar
    Marco

    Hi, i’am amazed of your guide, but can you please share the code in ui.R and server.R? i got problems in make it work

    1. Nicole Radziwill Avatar
      Nicole Radziwill

      This isn’t a Shiny app… just output from the qcc package.

  3. gridqueen Avatar

    Hi Nicole! Your qcc explanation is terrific! Thanks so much! How are the dragons?

  4. engy Avatar
    engy

    More than amazing , thank you for your effort

Leave a reply to Mark McCormick Cancel reply

I’m Nicole

Since 2008, I’ve been sharing insights and expertise on Digital Transformation & Data Science for Performance Excellence here. As a CxO, I’ve helped orgs build empowered teams, robust programs, and elegant strategies bridging data, analytics, and artificial intelligence (AI)/machine learning (ML)… while building models in R and Python on the side. In 2025, I help leaders drive Quality-Driven Data & AI Strategies and navigate the complex market of data/AI vendors & professional services. Need help sifting through it all? Reach out to inquire – check out my new book that reveal the one thing EVERY organization has been neglecting – Data, Strategy, Culture & Power.

More About Me or HIRE ME OR MY PEOPLE

Let’s connect