powered by
$$C_{pu} = \frac{\text{USL} - \mu}{L \sigma}$$
Note. This function allows for negative \(C_{pu}\) values.
Only vectors of length 1 are recycled.
NA's take precedence over NaN's, e.g. NaN + NA will output NA.
NA
NaN
NaN + NA
Yields NaN if sigma equals 0.
sigma
C_pu(mu, sigma, usl, l)
double.
double
numeric.
numeric
numeric. Conventionally set to 3. Must be greater than 0.
Montgomery, D. C. (2019). Introduction to statistical quality control (8th ed.). Wiley. ISBN: 978-1-119-39930-8
C_pl(), C_pk()
C_pl()
C_pk()
set.seed(1L) data = rnorm(n = 30L, mean = 3., sd = 1.) C_pu(mu = mean(data), sigma = sd(data), usl = 6., l = 3.) # [1] 1.052367
Run the code above in your browser using DataLab