xbarRCC {CC} | R Documentation |
Computing xbar and R-chart Parameters
Description
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.
Usage
xbarRCC(qc.obj, k=3, sigma, mu, revise=TRUE, newdata)
Arguments
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 |
Value
an object of class "CC"
Author(s)
W.J. Braun
References
Montgomery, D.C. (2000) Introduction to Statistical Quality Control, Wiley
See Also
plot.CC
Examples
x <- matrix(rnorm(120, sd = 3), ncol=12)
x.R <- xbarRCC(x)
plot(x.R)
[Package CC version 1.0 Index]