find.plan {AcceptanceSampling}  R Documentation 
Find the sampling plan with smallest sample size (single sample only) such that specified Producer Risk Point (PRP) and Consumer Risk Point (CRP) are both met.
PRP 
The Producer Risk Point in the form of a two element
numeric vector of the form 
CRP 
The Consumer Risk Point in the form of a two element
numeric vector of the form 
type 
The distribution which the sampling plan is based
on. Possible values are 
N 
The size of the population from which samples are drawn. Only
applicable for 
s.type 
The type of the standard deviation. A value of

find.plan(PRP, CRP, type="binomial")
find.plan(PRP, CRP, type="hypergeom", N)
find.plan(PRP, CRP, type="normal", s.type="unknown")
Andreas Kiermeier