Learn R Programming

Dodge (version 0.9-2)

ChainBinomial: Chain Sampling Plans

Description

Chain Sampling Plans for the binomial and Poisson distributions.

Usage

ChainBinomial(N, n, i, p = seq(0, 0.2, 0.001), Plots = TRUE)

Arguments

N

the lot size

n

the sample size

i

the number of preceding lots that are free from nonconforming units for the lot to be accepted

p

a vector of values for the possible fraction of product that is nonconforming

Plots

logical to request generation of the four plots

Value

A matrix containing the argument p as supplied and the calculated OC, ATI and ???

References

Dodge, H.F. (1955) “Chain Sampling Inspection Plan”, Industrial Quality Control 11(4), pp10-13.

Examples

Run this code
# NOT RUN {
require(Dodge)
ChainBinomial(1000, 20,3)
ChainPoisson(1000, 20,3)

# }

Run the code above in your browser using DataLab