SSPlanBinomial {Dodge} | R Documentation |
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 |
Author(s)
Raj Govindaraju with minor editing by Jonathan Godfrey
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
SSPlanBinomial(1000, 20,1)
SSPlanHyper(5000, 200,3)
SSPlanPoisson(1000, 20,1)
[Package Dodge version 0.9-2 Index]