Calculates the np control chart for attributes, using a sample D of number of defectives or nonconforming items and a constant sample size n. The values plotted in graph are the defectives number.
Usage
np_gr(D, n)
Value
in.control
The under control row list for the np chart
out.control
The out of control row list for the np chart
Iteraciones
The number of iterations, in this function always will be the first and the last one
data.n
The fixed sample size
data.0
The original data frame
data.1
The filtered data frame
bin
The binary values for out of control equal to one and under control equal to zero
Limites de Control Grafica np
The np chart control limits vector
Conclusion del proceso
The same results in a phrase as the bin values
Arguments
D
A data frame containing the non conforming items, and must be integer and non negative.
n
A vector of length one, integer and nonnegative, to fix the sample size.
Author
Erick Marroquin
References
Montgomery, D.C. (2005) Introduction to Statistical Quality Control, 5th ed. New York: John Wiley & Sons, ISBN 0-471-65631-3