Learn R Programming

ggQC (version 0.0.31)

cBar_UCL: Upper Control Limit: Count Data (c-chart)

Description

Calculates upper control limit (UCL) for count data acquired over the same-sized area of opportunity.

Usage

cBar_UCL(y, na.rm = FALSE, ...)

Arguments

y

Vector of count data. Each observation having the same-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 number; 3-sigma upper control limit (UCL)

Examples

Run this code
# NOT RUN {
set.seed(5555)
y <- rpois(30, 9)
cBar_UCL(y)

# }

Run the code above in your browser using DataLab