Quality Improvement Charts

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) ].


Build Status CRAN_Status_Badge

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) https://doi.org/10.1371/journal.pone.0113825].

Non-random variation in the form of larger, possibly transient, shifts is identified by Shewhart's 3-sigma rule [Mohammed, Worthington, Woodall (2008) http://dx.doi.org/10.1136/qshc.2004.012047].

Exported functions

  • qic() Run and control charts.

  • summary.qic() Summary of qic object.

  • paretochart() Pareto charts.

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.

Instructions

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

or

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

then

News

qicharts2 0.3.0

  • Skip more tests that generate noLD issues on CRAN.
  • Allow NULL as title argument to suppress chart title.
  • Add strip.horizontal argument to qic().

qicharts2 0.2.3

  • Skip tests that generate noLD issues on CRAN.

qicharts2 0.2.2

  • Fix time zone warnings on Windows environment.

qicharts2 0.2.1

  • Fix x axis error when dates crosses summer/winter time.

qicharts2 0.2.0

  • Import dplyr >= 0.7.0
  • Fix calculation of control limits for xbar chart in qic() with freeze or exclude argument.
  • C chart ignores agg.fun argument.

qicharts2 0.1.1

  • First release.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("qicharts2")

0.3.0 by Jacob Anhoej, 20 days ago


https://github.com/anhoej/qicharts2


Browse source code at https://github.com/cran/qicharts2


Authors: Jacob Anhoej [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports dplyr, ggplot2, scales, stats

Suggests knitr, rmarkdown, testthat, tidyr


See at CRAN