runs.target(object, run.length=5)
runs.target may be applied directly to an object inheriting from class "shewhart" to obtain the indices of points violating the runs rule.
qc.chart <- shewhart(qcc(matrix(rnorm(100),ncol = 5), "xbar")) runs.target(qc.chart)