SSPlanBinomial {Dodge} | R Documentation |
Single sampling plans for the binomial, hypergeometric and Poisson distributions.
SSPlanBinomial(N, n, Ac, p = seq(0, 0.3, 0.001), Plots = TRUE)
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 |
Raj Govindaraju with minor editing by Jonathan Godfrey
Dodge, H.F. and Romig, H.G. (1959) “Sampling Inspection Tables, Single and Double Sampling”, Second edition, John Wiley and Sons, New York.
SSPlanBinomial(1000, 20,1)
SSPlanHyper(5000, 200,3)
SSPlanPoisson(1000, 20,1)