
autospc: Automatically Partitioned SPC Charts
autospc-package.RdCreates spc charts with control limits and centre line calculations partitioned into distinct periods.
Options
autospc.warn_missing_xWhether to warn when rows are excluded because
xisNA.TRUEunless set otherwise. Setoptions(autospc.warn_missing_x = FALSE)to omit this warning, for instance when drawing many charts to avoid many warnings. The warning carries the class"autospc_missing_x_warning", so it can also be handled on its own withwithCallingHandlers().autospc.rounded_constantsWhether to use the published rounded values of the constants the control limits are calculated with - d2 and D4 for X and MR charts, d2 for C', P' and U' charts and D4 in their screening of moving ranges, A3, B3 and B4 for Xbar and S charts - rather than their exact values.
FALSEunless set toTRUE, so the exact values are used by default. Setoptions(autospc.rounded_constants = TRUE)for limits that agree with a hand calculation from a published table of constants.autospc.constrain_limitsWhether to constrain control limits to the range the plotted statistic can take: a count, a rate, a moving range and a standard deviation at or above zero, a percentage between 0 and 100.
TRUEunless set toFALSE. Setoptions(autospc.constrain_limits = FALSE)to draw the limits where the arithmetic puts them, which shows how wide they are but potentially puts them at values the statistic could not take. The vertical axis follows the limits either way. An MR chart has a lower limit of zero, and an S chart a lower limit of zero or above, either way, as is standard.
Author
Maintainer: Thomas Woodcock woodcock.thomas@gmail.com (ORCID)
Authors:
Imogen O'Connor imogen.connor-helleur@imperial.ac.uk