A vector with the number of defects in each product/batch, ...
rework
A vector with the number of items/parts reworked
opportunities
A numeric value with the size or length of the product/batch
Value
YieldNumber of good stuff / Total items
FTY(Total - scrap - rework) / Total
RTYprod(FTY)
DPMODefects per Million Opportunities
Details
The three arguments must have the same length.
References
Gygi C, DeCarlo N, Williams B (2005) Six sigma for dummies. --For dummies,
Wiley Pub.
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.