C_pk {pci}R Documentation

C_{pk}

Description

C_{pk} = \min(C_{pl}, C_{pu})

Note. This function allows for negative C_{pk} values.

Only vectors of length 1 are recycled.

NA's take precedence over NaN's, e.g. NaN + NA will output NA.

Yields NaN if sigma equals 0.

Usage

C_pk(mu, sigma, lsl, usl, dl)

Arguments

mu

numeric.

sigma

numeric.

lsl

numeric.

usl

numeric.

dl

numeric. Conventionally set to 6. Must be greater than 0.

Value

double.

References

Montgomery, D. C. (2019). Introduction to statistical quality control (8th ed.). Wiley. ISBN: 978-1-119-39930-8

See Also

C_pl(), C_pu()

Examples

set.seed(1L)
data = rnorm(n = 30L, mean = 3., sd = 1.)
C_pk(mu = mean(data), sigma = sd(data), lsl = 0., usl = 6., dl = 6.)
# [1] 1.052367


[Package pci version 1.0.1 Index]