OCdata {AccSamplingDesign} | R Documentation |
Generic function for OC Curve Generation
Description
Generic function to compute Operating Characteristic (OC) curve data from an acceptance sampling plan.
Usage
OCdata(plan, pd = NULL)
Arguments
plan |
An object of class |
pd |
Vector of quality levels (proportions of nonconforming items). |
Details
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.
Value
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
Author(s)
Ha Truong
See Also
[Package AccSamplingDesign version 0.0.6 Index]