DSPlanBinomial {Dodge} | R Documentation |
Double Sampling Plans
Description
Double Sampling Plans for the binomial and Poisson distributions.
Usage
DSPlanBinomial(N, n1, n2, Ac1, Re1, Ac2, p = seq(0, 0.25, 0.005),
Plots = TRUE)
Arguments
N |
the lot size |
n1 |
the sample size in the first stage of the plan |
n2 |
the sample size in the second stage of the plan |
Ac1 |
the first stage acceptance number |
Re1 |
the first stage rejection number |
Ac2 |
the second stage acceptance number |
p |
a vector of values for the possible fraction of product that is nonconforming |
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
DSPlanBinomial(1000, 10, 10, 0, 2, 1)
DSPlanPoisson(1000, 10, 10, 0,2, 1)
[Package Dodge version 0.9-2 Index]