mR_UCL: Mean One-Point Moving Range Upper Control Limit (UCL)

Description Usage Arguments Value Examples

View source: R/02_QC_FUNs.R

Description

Calculates the mean one-point moving range UCL used when constructing a moving-range chart.

Usage

1
mR_UCL(y, na.rm = FALSE, ...)

Arguments

y

Vector of values

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds.

...

further arguments passed to or from other methods.

Value

A number; mean one-point moving range UCL.

Examples

1
2
3
set.seed(5555)
values <- rnorm(n = 100, mean = 25, sd = 1)
mR_UCL(values)

kenithgrey/rQC documentation built on May 20, 2019, 9:04 a.m.