IMSL C# Numerical Library

XbarR.CreateCharts Method (Chart, Int32, Double[], Double[])

Creates a combined XbarR chart and RChart given the means and ranges for a series of equally sized samples.

public static ShewhartControlChart[] CreateCharts(
   Chart chart,
   int sampleSize,
   double[] xbar,
   double[] range
);

Parameters

chart
The Chart object which is the parent of the two charts being created.
sampleSize
The number of observations in each sample. It must be between 2 and 50.
xbar
An array containing the mean values for a series of samples.
range
An array containing the ranges of the samples.

Return Value

An array of length two containing the XbarR chart and the RChart.

Remarks

The viewport of the XbarR chart is [0.2, 0.9] by [0.1, 0.4]. The viewport of the RChart chart is [0.2, 0.9] by [0.5, 0.8].

See Also

XbarR Class | Imsl.Chart2D.QC Namespace | XbarR.CreateCharts Overload List