uBar_LCL: Lower Control Limit: Count Data (u-chart)

Description Usage Arguments Value Examples

View source: R/02_QC_FUNs.R

Description

Calculates point-wise lower control limit (LCL) for count data acquired over a variable area of opportunity.

Usage

1
uBar_LCL(y, n, na.rm = FALSE, ...)

Arguments

y

Vector of counts per unit opportunity (rate). Observations may have a different area of opportunity, n.

n

A vector representing the area of opportunity.

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 vector; point-wise 3-sigma lower control limit (LCL)

Examples

1
2
3
4
set.seed(5555)
counts <- rpois(100, 25)
n <- rpois(100, 15)
uBar_LCL(y = counts / n, n = n)

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