control_line_value: Compute control line values

Description Usage Arguments

View source: R/control_line_value.R

Description

Compute control line values

Usage

1
2
control_line_value(data, quantile = c(-3, 0, 3), type = c("xbar_R",
  "xbar_s", "R", "s", "p"))

Arguments

data

A tibble with numeric columns sample and value. All samples should be of the same size. Else the sample size is determined by calculating the mean sample size.

quantile

A numeric vector representing the quantiles for which the control line values are calculated. If type %in% c("xbar_R", "R") quantiles must be in c(-3, 0, 3). If type == "R", length of quantile must be 1.

type

Control chart's type.


DavidBarke/QWUtils documentation built on Jan. 13, 2020, 11:52 a.m.