luca-scr / qcc

An R package for Quality Control Charts
https://luca-scr.github.io/qcc/
43 stars 17 forks source link

Cp.k <- min(Cp.u, Cp.l) #17

Closed makulais closed 4 years ago

makulais commented 4 years ago

This is only valid for non-negative Cpk values. If a value(s) is negative, it will not return the worst value, it would return the minimum negative value, the value closest to zero. E.g. Cp.u = -0.2, Cp.l = -2.0, the value returned would be Cp.u, not Cp.l

makulais commented 4 years ago

Sorry, I was thinking of comparing multiple Cpk's, with the Cp.u and Cp.l the comparison of min does work. I don't know how to delete this issue.