RChart - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


ProcessControl

  

RChart

  

generate the R chart

 

Calling Sequence

Parameters

Description

Computation

Options

Examples

References

Calling Sequence

RChart(X, n, options, plotoptions)

Parameters

X

-

data

n

-

(optional) sample size

options

-

(optional) equation(s) of the form option=value where option is one of color, confidencelevel, controllimits, ignore, rbar, or speclimits; specify options for generating the R chart

plotoptions

-

(optional) parameters to pass to the plot command

Description

• 

The RChart command generates control chart for the range (R chart) for the specified observations. The chart also contains the upper control limit (UCL), the lower control limit (LCL), and the average range (represented by the center line) of the individual samples. Unless explicitly given, the average range and the control limits are computed based on the data.

• 

The first parameter X is either a single data sample - given as a Vector or list - or a list of data samples. Each value represents an individual observation. Note, that the individual samples can be of variable size.

• 

If X is a single data sample, the second parameter n is used to specify the size of individual samples.

Computation

• 

All computations involving data are performed in floating-point; therefore, all data provided must have type realcons and all returned solutions are floating-point, even if the problem is specified with exact values.

• 

For more information about computation in the ProcessControl package, see the ProcessControl help page.

Options

  

The options argument can contain one or more of the following options.

• 

color=list -- This option specifies colors of the various components of the R chart. The value of this option must be a list containing the color of the control limits, center line, data to be plotted, and the specification limits.

• 

confidencelevel=realcons -- This option specifies the required confidence level. The default value is 0.9973, corresponding to a 3 sigma confidence level.

• 

controllimits=deduce or [realcons, realcons] -- This option specifies the values for the control limits. The first element is the value of the lower control limit. The second element is the value of the upper control limit. For data with variable sample size, the value of this option must be a list of control limits for each sample. If this option is set to deduce (the default value), the control limits are computed based on the data.

• 

ignore=truefalse -- This option controls how missing values are handled by the RChart command. Missing values are represented by undefined or Float(undefined). So, if ignore=false and X contains missing data, the RChart command returns undefined. If ignore=true, all missing items in X are ignored. The default value is true.

• 

rbar=deduce or realcons -- This option specifies the average range of individual samples.

• 

speclimits=none, [realcons, realcons] -- This option specifies the values for the specification limits. The first element is the value of the lower specification limit. The second element is the value of the upper specification limit. The default value is none.

Examples

withProcessControl:

infolevelProcessControl1:

A74.030,74.002,74.019,73.992,74.008,73.995,73.992,74.001,74.011,74.004,73.988,74.024,74.021,74.005,74.002,74.002,73.996,73.993,74.015,74.009,73.992,74.007,74.015,73.989,74.014,74.009,73.994,73.997,73.985,73.993,73.995,74.006,73.994,74.000,74.005,73.985,74.003,73.993,74.015,73.988,74.008,73.995,74.009,74.005,74.004,73.998,74.000,73.990,74.007,73.995,73.994,73.998,73.994,73.995,73.990,74.004,74.000,74.007,74.000,73.996,73.983,74.002,73.998,73.997,74.012,74.006,73.967,73.994,74.000,73.984,74.012,74.014,73.998,73.999,74.007,74.000,73.984,74.005,73.998,73.996,73.994,74.012,73.986,74.005,74.007,74.006,74.010,74.018,74.003,74.000,73.984,74.002,74.003,74.005,73.997,74.000,74.010,74.013,74.020,74.003,73.982,74.001,74.015,74.005,73.996,74.004,73.999,73.990,74.006,74.009,74.010,73.989,73.990,74.009,74.014,74.015,74.008,73.993,74.000,74.010,73.982,73.984,73.995,74.017,74.013:

B74.030,74.002,74.019,73.992,74.008,73.995,73.992,74.001,undefined,undefined,73.988,74.024,74.021,74.005,74.002,74.002,73.996,73.993,74.015,74.009,73.992,74.007,74.015,73.989,74.014,74.009,73.994,73.997,73.985,undefined,73.995,74.006,73.994,74.000,undefined,73.985,74.003,73.993,74.015,73.988,74.008,73.995,74.009,74.005,undefined,73.998,74.000,73.990,74.007,73.995,73.994,73.998,73.994,73.995,73.990,74.004,74.000,74.007,74.000,73.996,73.983,74.002,73.998,undefined,undefined,74.006,73.967,73.994,74.000,73.984,74.012,74.014,73.998,undefined,undefined,74.000,73.984,74.005,73.998,73.996,73.994,74.012,73.986,74.005,74.007,74.006,74.010,74.018,74.003,74.000,73.984,74.002,74.003,74.005,73.997,74.000,74.010,74.013,undefined,undefined,73.982,74.001,74.015,74.005,73.996,74.004,73.999,73.990,74.006,74.009,74.010,73.989,73.990,74.009,74.014,74.015,74.008,73.993,74.000,74.010,73.982,73.984,73.995,74.017,74.013:

RChartA

Estimate for R:       .0232400000000001
Sample Size:              constant
Estimated Control Limits: [0, .049137712873306]

RChartB

Estimate for R:       .0221600000000007
Sample Size:              variable

RControlLimitsA

Sample Size:              constant

0.,0.0491377128733060

(1)

lRControlLimitsA,confidencelevel=0.95

Sample Size:              constant

l0.00632047186904479,0.0401595281309555

(2)

RChartA,controllimits=l

Estimate for R:       .0232400000000001
Estimated Control Limits: [.00632047186904479, .0401595281309555]

lRControlLimitsB,confidencelevel=0.95

Sample Size:              variable

l0.00602674942418399,0.0382932505758173,0.,0.0449410561635488,0.00602674942418399,0.0382932505758173,0.00602674942418399,0.0382932505758173,0.00602674942418399,0.0382932505758173,0.00359717063151698,0.0407228293684843,0.00359717063151698,0.0407228293684843,0.00602674942418399,0.0382932505758173,0.00359717063151698,0.0407228293684843,0.00602674942418399,0.0382932505758173,0.00602674942418399,0.0382932505758173,0.00602674942418399,0.0382932505758173,0.,0.0449410561635488,0.00602674942418399,0.0382932505758173,0.,0.0449410561635488,0.00602674942418399,0.0382932505758173,0.00602674942418399,0.0382932505758173,0.00602674942418399,0.0382932505758173,0.00602674942418399,0.0382932505758173,0.,0.0449410561635488,0.00602674942418399,0.0382932505758173,0.00602674942418399,0.0382932505758173,0.00602674942418399,0.0382932505758173,0.00602674942418399,0.0382932505758173,0.00602674942418399,0.0382932505758173

(3)

RChartB,controllimits=l

Estimate for R:       .0221600000000007

References

  

Montgomery, Douglas C. Introduction to Statistical Quality Control. 2nd ed. New York: John Wiley & Sons, 1991.

See Also

infolevel

ProcessControl

ProcessControl[RControlLimits]

ProcessControl[SChart]

ProcessControl[XBarChart]

Statistics