control.limits.R {envoutliers} | R Documentation |
Estimation of limits of control chart R. The function is called by KRDetect.outliers.controlchart
and is not intended for use by regular users of the package.
control.limits.R(x, group.size, L)
x |
a numeric vector of data values. |
group.size |
a positive integer giving the number of observations in individual segments used for computation of control chart limits. If the data can not be equidistantly divided, the first extra values will be excluded from the analysis. |
L |
a positive numeric value giving parameter |
This function computes parameters based on which control chart R can be constructed. The function is exported for developer use only. It does not perform any checks on inputs since it is only a convenience function for identification limits based on control chart R.
A list is returned with elements:
x |
a numeric vector of data |
range.est |
a numeric value giving an estimate of range parameter |
groups.count |
a numeric value giving a number of segments used for estimating parameters of control chart |
groups.range |
a numeric vector giving sample ranges in individual segments used for estimating parameters of control chart |
LCL |
a numeric value giving lower control limit of control chart R |
UCL |
a numeric value giving upper control limit of control chart R |
Shewhart W (1931). Quality control chart. Bell System Technical Journal, 5, 593–603.
SAS/QC User's Guide, Version 8, 1999. SAS Institute, Cary, N.C.
Wild C, Seber G (2000). Chance encounters: A first course in data analysis and inference. New York: John Wiley.