PChart.Apply Method

Definition

Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0

Overload List

Apply(Vector<Double>) Applies new observations to this Deployed chart and returns a new TChart in the Fitted state.
Apply(Vector<Double>, Vector<Double>) Applies new observations to this Deployed chart with variable sample sizes and returns a new PChart in the Fitted state.

Apply(Vector<Double>, Vector<Double>)

Applies new observations to this Deployed chart with variable sample sizes and returns a new PChart in the Fitted state.
C#
public PChart Apply(
	Vector<double> nonconformingCounts,
	Vector<double> sampleSizes
)

Parameters

nonconformingCounts  Vector<Double>
The new nonconforming counts. Must have the same length as sampleSizes.
sampleSizes  Vector<Double>
The sample size for each new subgroup. Must contain only positive finite values.

Return Value

PChart
A new PChart in the Fitted state using the frozen pooled fraction nonconforming and the new sample sizes for limit computation.

Exceptions

InvalidOperationException The chart is not in the Deployed state, or this chart uses a constant sample size (use the base Apply(Vector<Double>) overload).
ArgumentNullExceptionnonconformingCounts or sampleSizes is null.

See Also