xLRCC: Computing x and LR-chart Parameters
Description
This function computes control limits for the x and LR-charts, optionally
revising them in the case that individual sample means and/or ranges plot out
of the trial control limits.
Usage
xLRCC(qc.obj, k=3, sigma, mu, revise=TRUE, newdata)
Arguments
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 consisting of
data from new subgroups
Value
an object of class "CC"
References
Montgomery, D.C. (2000) Introduction to Statistical Quality
Control, Wiley
Examples
Run this code# NOT RUN {
rr.xLR <- xLRCC(rr$Avg)
plot(rr.xLR)
# }
Run the code above in your browser using DataLab