Skip to content
Quality improvement charts
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
R No need for dplyr. Apr 6, 2019
data Added gtt dataset Jul 23, 2017
docs No need for dplyr. Apr 6, 2019
man part argument now accepts character vector. Apr 5, 2019
.Rbuildignore Add paper.* files. Apr 19, 2018
.gitignore Fix gitignore. Apr 19, 2018
.travis.yml Removed osx from travis ci testing. Jan 27, 2018
DESCRIPTION No need for dplyr. Apr 6, 2019
NAMESPACE No need for dplyr. Apr 6, 2019
NEWS No need for dplyr. Apr 6, 2019 No need for dplyr. Apr 6, 2019
_pkgdown.yml No need for dplyr. Apr 6, 2019
paper.bib Add paper.* files. Apr 19, 2018 Update Apr 27, 2018
paper.png Convert paper.svg to paper.png. Apr 22, 2018
qicharts2.Rproj Added part labels for split graphs. Jul 22, 2017

Build Status CRAN_Status_Badge DOI DOI

Quality improvement charts for R

qicharts2 is an R package with functions for making run charts, Shewhart control charts and Pareto charts for continuous quality improvement. Included control charts are: I, MR, Xbar, S, T, C, U, U', P, P', and G charts.

Non-random variation in the form of minor to moderate persistent shifts in data over time is identified by the Anhoej rules for unusually long runs and unusually few crossing [Anhoej, Olesen (2014)].

Non-random variation in the form of larger, possibly transient, shifts is identified by Shewhart's 3-sigma rule [Mohammed, Worthington, Woodall (2008)].

Exported functions

  • qic() Run and control charts.

  • summary.qic() Summary of qic object.

  • paretochart() Pareto charts.

  • bchart() Bernoulli CUSUM chart (EXPERIMENTAL).

Included datasets

  • hospital_infections Number of hospital acquired bacteremia, Clostridium difficile infections, and urinary tract infections in six hospitals.

  • cabg Individual coronary artery bypass graft operations.

  • cdi Hospital acquired Clostridium difficile infections (CDI) before and after an intervention to reduce the risk of CDI.

  • nhs_accidents Number of attendances to major accident and emergency hospital departments in the NHS that were seen within 4 hours of arrival over twenty weeks.

  • gtt Adverse events during hospitalisation found by the Global Trigger Tool.


  • Install stable version from CRAN: install.packages('qicharts2').


  • Install development version from github: devtools::install_github('anhoej/qicharts2', build_vignettes = TRUE).


You can’t perform that action at this time.