powered by
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)
an object of class CC
the control chart parameter governing the width of the control limits
(optional) an estimate of the in-control standard deviation
(optional) an estimate of the in-control mean
if TRUE, mu and sigma are estimated using only range values that plot inside the trial control limits
an n-vector or matrix having n columns, consisting of data from new subgroups
an object of class "CC"
Montgomery, D.C. (2000) Introduction to Statistical Quality Control, Wiley
plot.CC
# NOT RUN { x <- matrix(rnorm(120, sd = 3), ncol=12) x.R <- xbarRCC(x) plot(x.R) # }
Run the code above in your browser using DataLab