50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

Dodge (version 0.9-2)

SSPlanBinomial: Single Sampling Plans

Description

Single sampling plans for the binomial, hypergeometric and Poisson distributions.

Usage

SSPlanBinomial(N, n, Ac, p = seq(0, 0.3, 0.001), Plots = TRUE)

Arguments

N

the lot size

n

the sample size

Ac

the acceptance number, being the maximum allowable number of non-conforming units or non-conformities

p

a vector of values for the possible fraction of product that is non-conforming

Plots

logical to request generation of the four plots

References

Dodge, H.F. and Romig, H.G. (1959) “Sampling Inspection Tables, Single and Double Sampling”, Second edition, John Wiley and Sons, New York.

Examples

Run this code
# NOT RUN {
SSPlanBinomial(1000, 20,1)
SSPlanHyper(5000, 200,3)
SSPlanPoisson(1000, 20,1)

# }

Run the code above in your browser using DataLab