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.
xrs_gr(X)
The under control row list for the X chart
The under control row list for the R chart
The out of control row list for the X chart
The iterations number, the firts and the last one on this function
The original data frame
The under control subset after iteration
The calculated ranges of data.0
The binary values for out of control equal to one and under control equal to zero, for X, R and S charts
The X chart control limits vector
The R chart control limits vector
The S chart control limits vector
The X chart control limits vector
The R chart control limits vector
The S chart control limits vector
The same results in a phrase as the bin values
A sample in a dataframe object, with m rows like subgroups, and n columns like sample size.
Erick Marroquin
Montgomery, D.C. (2005) Introduction to Statistical Quality Control, 5th ed. New York: John Wiley & Sons, ISBN 0-471-65631-3
X_it
, we_rules
, R_it
, Cp_X
, Beta.X
data(vol_sample)
results1<-xrs_gr(vol_sample)
Run the code above in your browser using DataLab