xrs_gr {XRSCC} | R Documentation |
Calculate and plot the X, R and S Charts for variable charts
Description
Calculates the control limits for X, R and S charts, using a data frame with a fixed subgroup size. Plots the corresponding graph, the function estimates if any value is out of the control limits, returns a list with calculations.
Usage
xrs_gr(X)
Arguments
X |
A sample in a dataframe object, with m rows like subgroups, and n columns like sample size. |
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, the firts and the last one on this function |
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, R and S charts |
LX |
The X chart control limits vector |
LR |
The R chart control limits vector |
LS |
The S chart control limits vector |
Limites Grafixa X |
The X chart control limits vector |
Limites Grafixa R |
The R chart control limits vector |
Limites Grafixa S |
The S 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
X_it
, we_rules
, R_it
, Cp_X
, Beta.X
Examples
data(vol_sample)
results1<-xrs_gr(vol_sample)