process.capability.sixpack {qcc} | R Documentation |
Draw a process capability sixpack plots.
process.capability.sixpack(object, spec.limits, target, nsigmas, std.dev)
object |
a 'qcc' object of type "xbar" |
spec.limits |
a vector specifying the lower and upper specification limits. |
target |
a value specifying the target of the process. If missing the value from the 'qcc' object is used if not NULL , otherwise the target is set at the middle value bewteen specification limits. |
nsigmas |
a numeric value specifying th number of sigmas to use. If not provided is taken from the 'qcc' object. |
std.dev |
a value specifying the within-group standard deviation. If not provided is taken from the 'qcc' object. |
The process capability sixpack plots are:
a xbar chart
a R or S chart (if sample sizes > 10)
a run chart
a histogram
a normal Q-Q plot
a capability plot
Luca Scrucca luca@stat.unipg.it
Minitab (2000) Users's Guide 2: Data Analysis and Quality Tools, rel. 13, Chapter 14.
x <- matrix(rnorm(100), ncol=5) q <- qcc(x, type="xbar", plot=FALSE) process.capability.sixpack(q, spec.limits = c(-2,2), target=0) data(pistonrings) attach(pistonrings) diameter <- qcc.groups(diameter, sample) q <- qcc(diameter[1:25,], type="xbar", nsigmas=3, plot=FALSE) process.capability.sixpack(q, spec.limits=c(73.95,74.05))