StatControlCharts::QCNPChart Function

Overload List

#SignatureDescription
1void QCNPChart(TVec *Data, int SampleSize, TVec *DrawVec, double &CL, double &UCL, double &LCL, double Confidence = 0.997);Constructs nP-Chart.
2void QCNPChart(TVec *Data, TVec *SampleSize, TVec *DrawVec, TVec *CL, TVec *UCL, TVec *LCL, double Confidence);In this case each sample can have different size. You must store sizes in SampleSize vector.

Overload 1: void QCNPChart(TVec *Data, int SampleSize, TVec *DrawVec, double &CL, double &UCL, double &LCL, double Confidence = 0.997);

Constructs nP-Chart.

#NameTypeDescription
1DataTVec *
2SampleSizeint
3DrawVecTVec *
4CLdouble &
5UCLdouble &
6LCLdouble &
7Confidence = 0.997double
Remarks:

Constructs nP-Chart drawing values, center line, upper and lower control limit. The assumption is all samples have the same SampleSize.

Declared in Dew::Stats::Units::StatControlCharts · Dew.Stats/Units.StatControlCharts.h · Cross-compiler

Overload 2: void QCNPChart(TVec *Data, TVec *SampleSize, TVec *DrawVec, TVec *CL, TVec *UCL, TVec *LCL, double Confidence);

In this case each sample can have different size. You must store sizes in SampleSize vector.

#NameTypeDescription
1DataTVec *Data to be analyzed. Each value represents number of defects.
2SampleSizeTVec *Sample size. Can be integer or vector.
3DrawVecTVec *Returns values to be drawn.
4CLTVec *Returns control Chart centerline.
5UCLTVec *Returns control Chart upper control limit.
6LCLTVec *Returns control Chart lower control limit.
7ConfidencedoubleConfidence level for upper and lower control limit. Confidence must lie in the (0,1) interval.
Remarks:

An exeption is raised if Data and SampleSize length do not match.

See Also: TQCSeries, Dew.Stats.Tee.QCSeries, StatControlCharts::QCPChart, StatControlCharts::QCUChart, StatControlCharts::QCCChart
Declared in Dew::Stats::Units::StatControlCharts · Dew.Stats/Units.StatControlCharts.h · Cross-compiler