pBar_LCL: Lower Control Limit: Binomial Data (p-chart)

Description Usage Arguments Value Examples

Description

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

Usage

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

Arguments

y

Vector of binomial proportion data (not counts). 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)
p <- rbinom(n = 100, size = 30, prob = .2)
n <- rpois(100, 100)
pBar_LCL(y = p/n, n = n)

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