Learn R Programming

AQLSchemes (version 1.6-9)

MPn: This function calulates the maximum allowable proprtion non-conforming.

Description

This function calulates the maximum allowable proprtion non-conforming with sigma unknown or known using the standardized distribution.

Usage

MPn(k,n,stype)

Arguments

k

k is the acceptance constant for the variables sampling plan.

stype

stype is 'known' or 'unknown' depending on whether the standard deviation is known. The default is 'unknown'.

n

n is number of items in the sample required by the variables sampling plan.

Value

returns a single number (the maximum allowable proportion nonconforming)

References

Lawson, J. "An Introduction to Acceptance Sampling and SPC with R" pp 45=48.

Examples

Run this code
# NOT RUN {
MPn(k=1.6094,n=10,stype="known")
MPn(k=1.905285,n=42,stype="unknown")
# }

Run the code above in your browser using DataLab