# f_DR.CO: Plot the OC Curve for a specific acceptance sampling plan In Planesmuestra: Functions for Calculating Dodge Romig, MIL STD 105E and MIL STD 414 Acceptance Sampling Plan

## Description

Plot the OC Curve for a specific acceptance plan. Needs the acceptance number c , the sample size n, and the fraction of the non conforming items p. The calculation uses the binomial trials. Applies for attribute plans.

## Usage

 `1` ```f_DR.CO(c,n,p) ```

## Arguments

 `c` An integer number grater than zero, for the acceptance number. `n` An integer number grater than the acceptance number for the sample size. `p` Fraction average of the nonconforming items.

## Value

 `c` An integer number grater than zero, for the acceptance number. `n` An integer number grater than the acceptance number for the sample size. `p` Fraction average of the nonconforming items. `beta` Acceptance probability.

Erick Marroquin

## References

Montgomery, D.C. (2005) Introduction to Statistical Quality Control, 5th ed. New York: John Wiley & Sons, ISBN 0-471-65631-3

f_dodge.romig.simple, `f_milstd414`, `f_milstd105e`, `f_CO.plan`

## Examples

 ```1 2``` ```# n = 125 items, c=2, p = 0.01 f_DR.CO(2,125,0.1) ```

### Example output

```     c   n   p        beta
[1,] 2 125 0.1 0.000210835
```

Planesmuestra documentation built on May 1, 2019, 9:51 p.m.