Learn R Programming

IQCC (version 1.0)

grafXR: X-bar and R control charts

Description

This function builds the X-bar and R control charts in the same window.

Usage

grafXR(x, sizes)

Arguments

x
The data to be plotted.
sizes
A value or a vector of values specifying the sample sizes associated with each group.

Value

  • Return the two control charts.

Examples

Run this code
data(pistonrings)
attach(pistonrings)
grafXR(pistonrings[1:25,])

Run the code above in your browser using DataLab