p_gr {XRSCC} | R Documentation |
P control chart for attributes
Description
Calculates the p 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 fractions pof defectives.
Usage
p_gr(D, n)
Arguments
D |
A data frame containing in one column 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. |
Value
in.control |
The under control row list for the p chart |
out.control |
The out of control row list for the p 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 p |
The p chart control limits vector |
Conclusion del proceso |
The same results in a phrase as the bin values |
Author(s)
Erick Marroquin
References
Montgomery, D.C. (2005) Introduction to Statistical Quality Control, 5th ed. New York: John Wiley & Sons, ISBN 0-471-65631-3
See Also
P_it
, c_gr
, C_it
, np_gr
, NP_it
, u_gr
, U_it
Examples
data(bottles)
p_gr(bottles, n=100)