The quality loss function is one of the tools of the Six Sigma methodology.
The function assigns a cost to an observed value, that is larger as far as it
is from the target.
Usage
ss.lf(lfa.Y1, lfa.Delta, lfa.Y0, lfa.L0)
Arguments
lfa.Y1
The observed value of the CTQ (critical to quality) characteristic
that will be evaluated.
lfa.Delta
The tolerance for the CTQ.
lfa.Y0
The target for the CTQ.
lfa.L0
The cost of poor quality when the characteristic is $Y_0 + \Delta$.
Value
ss.lfA number with the evaluated function at $Y_1$
References
Taguchi G, Chowdhury S,Wu Y (2005) Taguchi's quality engineering handbook. John
Wiley
Cano, Emilio L., Moguerza, Javier M. and Redchuk, Andres. 2012.
Six Sigma with {R}. Statistical Engineering for Process
Improvement, Use R!, vol. 36. Springer, New York.
http://www.springer.com/statistics/book/978-1-4614-3651-5.