Generic function to compute Operating Characteristic (OC) curve data from an acceptance sampling plan.
OCdata(plan, pd = NULL)An object of class "OCdata", a list containing:
pd — quality levels (e.g. proportion defective)
paccept — probability of acceptance at each level
process_means — process means, if applicable
dist, n, k, c — plan parameters
An object of class AttrPlan or VarPlan.
Vector of quality levels (proportions of nonconforming items).
Ha Truong
This is a generic function. Methods are defined for objects of class
AttrPlan and VarPlan, which compute the probability of
acceptance across a range of quality levels (proportions of nonconforming).
See OCdata.AttrPlan and OCdata.VarPlan for details.
optPlan, manualPlan