rBar_LCL: Mean Subgroup Range Lower Control Limit (LCL)

Description Usage Arguments Value Examples

Description

Calculates the mean subgroup range Lower control limit (UCL) used when constructing a XbarR chart.

Usage

1
2
rBar_LCL(data = data, value = value, grouping = grouping,
  formula = NULL, ...)

Arguments

data

data frame to be processed

value

numeric vector in a data frame with values of interest.

grouping

single factor/variable to split the data frame "values" by.

formula

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.

Value

A number; mean subgroup range lower control limit (LCL).

Examples

1
2
3
set.seed(5555)
df <- data.frame(v=rnorm(60, 0, 1), g=rep(c("A","B","C","D","E"), each=12))
rBar_LCL(data = df, formula = v~g)

Example output

[1] 0.7221536

ggQC documentation built on May 1, 2019, 10:26 p.m.