npBar {ggQC}R Documentation

Mean Value: Binomial Data (np-chart)

Description

Calculates the mean value for binomial count data acquired over the same-sized area of opportunity.

Usage

npBar(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; mean value

Examples

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


[Package ggQC version 0.0.31 Index]