CurtBinomial: Curtailed Average Sample Number
Description
Computes the average sample number for a curtailed inspection plan for
single sampling plans. Functionality is currently available for only the
binomial distribution.
Usage
CurtBinomial(n, Ac, p = seq(0, 0.5, 0.01), Plots = TRUE)
Arguments
n
the sample size (potential)
p
a vector of values for the possible fraction of product that is
nonconforming
Plots
logical to request generation of the four plots
Examples
Run this code# NOT RUN {
CurtBinomial(20,1)
# }
Run the code above in your browser using DataLab