Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rMedian_LCL

Median of Subgroup Ranges Lower Control Limit (LCL)


Description

Calculates the median of subgroup range Lower control limit (LCL) used when constructing a xBar_rMedian chart.

Usage

rMedian_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; median of subgroup range lower control limit (LCL).

Examples

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

ggQC

Quality Control Charts for 'ggplot'

v0.0.31
GPL-3 | file LICENSE
Authors
Kenith Grey
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.