Learn R Programming

qcc (version 2.6)

shewhart.rules: Functions specifying rules for Shewhart charts

Description

These functions are used to signal out of control points in Shewhart charts.

Usage

shewhart.rules(object, limits = object$limits, run.length = qcc.options("run.length")) beyond.limits(object, limits = object$limits) violating.runs(object, run.length = qcc.options("run.length"))

Arguments

object
an object of class 'qcc'.
limits
control limits
run.length
the maximum value of a run before to signal a point as out of control.

Value

The shewhart.rules function returns a list with components:
beyond.limits
the indices of points beyond control limits.
violating.runs
the indices of points violating runs.

Details

The function shewhart.rules simply calls the beyond.limits and violating.runs functions which actually do the real calculations.