X_it {XRSCC} | R Documentation |
Calculates the iteration i'th X Chart
Description
With the results of xrs_gr
followed by previous X_it iterations, the function calculates the X control limits charts, using a data frame with a fixed subgroup size n. In the graph plotting, the function estimates if any value (row or subgroup average) is out of control limits, and returns a list with calculations. Also, gives the R chart and control limits, which will be used in R_it
function.
Usage
X_it(prev.results)
Arguments
prev.results |
Is a list of previous results obtained by the |
Details
The function stops if the X chart is under control already, and also stops if there is not any active graphic device.
Value
in.control |
The under control row list for the X chart |
R.in.control |
The under control row list for the R chart |
out.control |
The out of control row list for the X chart |
Iteraciones |
The iterations number, It is assumed to be the second or later |
data.0 |
The original data frame |
data.1 |
The under control subset after iteration |
data.r.1 |
The calculated ranges of data.0 |
bin |
The binary values for out of control equal to one and under control equal to zero, for X and R charts |
LX |
The X chart control limits vector |
LR |
The R chart control limits vector |
Limites Grafixa X |
The X chart control limits vector |
Limites Grafixa R |
The R chart control limits vector |
Conclusion del proceso |
The same results in a phrase as the bin values |
Note
For the true Range control limits calculation, use R_it
.
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
Examples
data(vol_sample)
results1<-xrs_gr(vol_sample)
results2<-X_it(results1)