Learn R Programming

IQCC (version 0.7)

cchart.Xbar2: X-bar Shewhart Control Chart for phase II.

Description

Builds the x-bar control chart for phase II.

Usage

cchart.Xbar2(x, x2bar, sigma, sizes)

Arguments

x

The data to be plotted.

x2bar

The mean of means.

sigma

The standar deviation of the data.

sizes

A value or a vector of values specifying the sample sizes associated with each group.

Value

Return a x-bar control chart for phase II.

Details

To use this function it is necessary to have the output given by the function XbarI.

See Also

cchart.Xbar1

Examples

Run this code
# NOT RUN {
data(pistonrings)
stat <- cchart.Xbar1(pistonrings[1:25, ])
cchart.Xbar2(pistonrings[26:40, ], stat[[1]][1], stat[[1]][2])

# }

Run the code above in your browser using DataLab