Learn R Programming

qcc (version 1.3)

process.capability.sixpack: Process capability sixpack plots

Description

Draw a process capability sixpack plots.

Usage

process.capability.sixpack(object, spec.limits, target, nsigmas, std.dev)

Arguments

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.

Details

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

References

Minitab (2000) Users's Guide 2: Data Analysis and Quality Tools, rel. 13, Chapter 14.

See Also

process.capability, qcc

Examples

Run this code
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))

Run the code above in your browser using DataLab