powered by
Calculates the mean subgroup standard deviation upper control limit (UCL) used when constructing a XbarS chart.
sBar_UCL(data = data, value = value, grouping = grouping, formula = NULL, ...)
data frame to be processed
numeric vector in a data frame with values of interest.
single factor/variable to split the data frame "values" by.
a formula, such as y ~ x1 + x2, where the y variable is numeric data to be split into groups according to the grouping x factors/variables
further arguments passed to or from other methods.
A number; mean subgroup standard deviation upper control limit (UCL).
# NOT RUN { set.seed(5555) df <- data.frame(v=rnorm(60, 0, 1), g=rep(c("A","B","C","D","E"), each=12)) sBar_UCL(data = df, formula = v~g) # }
Run the code above in your browser using DataLab