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) https://doi.org/10.1136/qshc.2004.012047].
-
qic()
Run and control charts. -
summary.qic()
Summary of qic object. -
paretochart()
Pareto charts. -
bchart()
Bernoulli CUSUM chart (EXPERIMENTAL).
-
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')
.
or
- Install development version from github:
devtools::install_github('anhoej/qicharts2', build_vignettes = TRUE)
.
then
-
Read documentation:
?qic
. -
Run examples:
example('qic')
,example('paretochart')
. -
Read vignette:
vignette('qicharts2')
. -
Report issues and suggest improvements on https://github.com/anhoej/qicharts2.
-
Website: https://anhoej.github.io/qicharts2/