xbarRCC {CC} | R Documentation |
This function computes control limits for the xbar and R-charts, optionally revising them in the case that individual sample means and/or ranges plot out of the trial control limits.
xbarRCC(qc.obj, k=3, sigma, mu, revise=TRUE, newdata)
qc.obj |
an object of class CC |
k |
the control chart parameter governing the width of the control limits |
sigma |
(optional) an estimate of the in-control standard deviation |
mu |
(optional) an estimate of the in-control mean |
revise |
if TRUE, mu and sigma are estimated using only range values that plot inside the trial control limits |
newdata |
an n-vector or matrix having n columns, consisting of data from new subgroups |
an object of class "CC"
W.J. Braun
Montgomery, D.C. (2000) Introduction to Statistical Quality Control, Wiley
plot.CC
x <- matrix(rnorm(120, sd = 3), ncol=12) x.R <- xbarRCC(x) plot(x.R)