PChart.Apply Method
Definition
Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
Overload List
| Apply( | Applies new observations to this Deployed chart and returns a new TChart in the Fitted state. |
| Apply( | 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.
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
PChartA new PChart in the Fitted state using the frozen pooled fraction nonconforming and the new sample sizes for limit computation.
Exceptions
| Invalid | The chart is not in the Deployed state, or this chart uses a constant sample size (use the base Apply(Vector<Double>) overload). |
| Argument | nonconformingCounts or sampleSizes is null. |