Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

npBar_UCL

Upper Control Limit: Binomial Data (np-chart)


Description

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

Usage

npBar_UCL(y, n, na.rm = FALSE, ...)

Arguments

y

Vector of binomial count data (not proportions). Each observation having the same-area of opportunity.

n

A number 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 number; 3-sigma upper control limit (UCL)

Examples

set.seed(5555)
p <- rbinom(n = 100, size = 30, prob = .2)
npBar_UCL(y = p, n = 30)

ggQC

Quality Control Charts for 'ggplot'

v0.0.31
GPL-3 | file LICENSE
Authors
Kenith Grey
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.