DSPlanBinomial: Double Sampling Plans

Description Usage Arguments Author(s) References Examples

View source: R/Double.R

Description

Double Sampling Plans for the binomial and Poisson distributions.

Usage

1
2
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

1
2
DSPlanBinomial(1000, 10, 10, 0, 2, 1)
DSPlanPoisson(1000, 10, 10, 0,2, 1)

Dodge documentation built on May 2, 2019, 9:42 a.m.