Mean Value: Binomial Data (np-chart)
Calculates the mean value for binomial count data acquired over the same-sized area of opportunity.
npBar(y, n, na.rm = FALSE, ...)
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. |
A number; mean value
set.seed(5555) p <- rbinom(n = 100, size = 30, prob = .2) npBar(y = p, n = 30)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.