stats.R: Statistics used in computing and drawing a Shewhart R chart

Description Usage Arguments Value Author(s) References See Also

View source: R/qcc.R

Description

These functions are used to compute statistics required by the R chart.

Usage

1
2
3
stats.R(data, sizes)
sd.R(data, sizes, std.dev = c("UWAVE-R", "MVLUE-R"))
limits.R(center, std.dev, sizes, conf)

Arguments

data

the observed data values

center

sample/group center statistic.

sizes

samples sizes. Optional

std.dev

within group standard deviation. Optional for sd.R function, required for limits.R. See sd.xbar.

conf

a numeric value used to compute control limits, specifying the number of standard deviations (if conf > 1) or the confidence level (if 0 < conf < 1).

Value

The function stats.R returns a list with components statistics and center.

The function sd.R returns std.dev the standard deviation of the statistic charted.

The function limits.R returns a matrix with lower and upper control limits.

Author(s)

Luca Scrucca

References

Montgomery, D.C. (2005) Introduction to Statistical Quality Control, 5th ed. New York: John Wiley & Sons.
Wetherill, G.B. and Brown, D.W. (1991) Statistical Process Control. New York: Chapman & Hall.

See Also

qcc


qcc documentation built on May 2, 2019, 9:15 a.m.