|
JMSLTM Numerical Library 5.0.1 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.imsl.chart.AbstractChartNode
com.imsl.chart.ChartNode
com.imsl.chart.Data
com.imsl.chart.qc.ShewhartControlChart
com.imsl.chart.qc.RChart
public class RChart
RChart is an R chart using sample ranges
to monitor the variability of a process.
Each sample must contain at least two observations.
The range of a sample is the maximum observed value minus the minimum observed value.
The control limits are at
![]()
![]()
By default, the chart contains
an upper control limit line with k=3,
a lower control limit line with k=-3,
and a central line with k=0.
Additional control limit lines can be added.
The method addWeco adds control limit lines with
k = -2, -1, 1, 2.
| Field Summary |
|---|
| Fields inherited from class com.imsl.chart.qc.ShewhartControlChart |
|---|
d2, d3 |
| Fields inherited from class com.imsl.chart.AbstractChartNode |
|---|
AUTOSCALE_DATA, AUTOSCALE_DENSITY, AUTOSCALE_NUMBER, AUTOSCALE_OFF, AUTOSCALE_WINDOW, AXIS_X, AXIS_Y, AXIS_Z, LABEL_TYPE_NONE, LABEL_TYPE_TITLE, LABEL_TYPE_X, LABEL_TYPE_Y, LABEL_TYPE_Z, TRANSFORM_CUSTOM, TRANSFORM_LINEAR, TRANSFORM_LOG |
| Constructor Summary | |
|---|---|
RChart(AxisXY axis,
double[][] x)
Creates an R chart given sample data. |
|
RChart(AxisXY axis,
int[] sampleSize,
double[] range)
Creates an R chart given the means for a series of equally sized samples. |
|
RChart(AxisXY axis,
int sampleSize,
double[] range)
Creates an R chart given the ranges for a series of equally sized samples. |
|
| Method Summary | |
|---|---|
void |
prePaint()
Setup chart with current settings. |
| Methods inherited from class com.imsl.chart.qc.ShewhartControlChart |
|---|
addCenterLine, addControlLimit, addLowerControlLimit, addUpperControlLimit, addWecoLimits, dataRange, getCenter, getCenterLine, getControlData, getLowerControlLimit, getMeanSampleSize, getSampleSize, getUpperControlLimit, paint, removeControlLimit, setCenter, setData, setData, setSampleSize, setSampleSize, setX |
| Methods inherited from class com.imsl.chart.Data |
|---|
formatLabel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RChart(AxisXY axis,
double[][] x)
axis - the AxisXY parent of this nodex - is an array of arrays containing sample data.
The data of the i-th sample is in x[i].
Each sample must contain at least 2 and no more than 50 observations.
IllegalArgumentException - is thrown if the number of samples is less than 2
or greater than 50.
public RChart(AxisXY axis,
int[] sampleSize,
double[] range)
axis - the AxisXY parent of this nodesampleSize - is an array containing the number of observations in each sample.
It must be at least 2 and no more than 50.range - is an array containing the data ranges for a series of samples.
public RChart(AxisXY axis,
int sampleSize,
double[] range)
axis - the AxisXY parent of this nodesampleSize - is the number of observations in each sample.
It must be at least 2 and no more than 50.range - is an array containing the data ranges for a series of samples.| Method Detail |
|---|
public void prePaint()
prePaint in class ChartNode
|
JMSLTM Numerical Library 5.0.1 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||