f_DR.CO: Plot the OC Curve for a specific acceptance sampling plan

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/f_DR.CO.R

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.

Author(s)

Erick Marroquin

References

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

See Also

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 29, 2017, 12:35 p.m.