run.length or more consecutive
points lie on one side of center line of a Shewhart control chart.
shewhart.rules(object, run.length=8)
"shewhart". Usually the return object of a call
to the
shewhart function.
run.length or more consecutive
points lie on one side of center line of the Shewhart control chart defined
by
object.
shewhart.rules is applied to a Shewhart control
chart and all the violating points are highlighted.
shewhart.rules simply applies
beyond.limits and
runs.target and
returns a list of all points which violate either of these rules.
shewhart.rules
may be applied directly to an object inheriting from class
"shewhart"
to obtain a list containing the indices of points beyond the
control limits and those violating the runs rule.
qc.chart <- shewhart(qcc(matrix(rnorm(100),ncol = 5), "xbar")) shewhart.rules(qc.chart)