rules.Rd
Function which implements rules to signal out of control points in Shewhart charts.
qccRules(object, rules = object$rules)
an object of class 'qcc'
.
a vector of values specifying the rules used to declare a process out-of-control. Possible values are:
One point plots outside 3-sigma control limits.
Two of three consecutive points plot beyond a 2-sigma limit.
Four of five consecutive points plot beyond a 1-sigma limit.
Eight consecutive points plot on one side of the center line.
These are often known as Western Electric rules.
The function returns a vector of the same length as the statistics charted with value NA
if no rule is violated, and numerical values corresponding to the violated rule. If more than one rule is violated, the value returned corresponds to the most serious violation.