Learn R Programming

IQCC (version 1.0)

PchartII: Traditional Shewhart p-chart for phase II.

Description

This function builds the traditional Shewhart 3-sigma normal-approx. p chart for phase II.

Usage

PchartII(x, sizes, phat, length)

Arguments

x
The data to be plotted.
sizes
A value or a vector of values specifying the sample sizes associated with each group.
phat
The value of the estimate of p.
length
The length of the data.

Value

  • Return the Shewhrat p chart.

Details

To use this function it is necessary to have the information about the PchartI.

References

Montgomery, D.C.,(2008)."Introduction to Statistical Quality Control". Chapter 11. Wiley

See Also

PchartI,PextI,PextII

Examples

Run this code
data(binomdata)
attach(binomdata)
pchI<-PchartI(x=Di[1:12],sizes=ni[1:12],par=pi[1:12],12)
PchartII(Di[13:25],sizes=ni[13:25],phat=pchI[1],length=13)

Run the code above in your browser using DataLab