powered by
One point beyond the control limits
Rule1(x, lcl, ucl, sides, ...)
Numerical vector
Lower control limit, single number
Upper control limit, single number
Monitored side of the process: either "two-sided" (default), "upper" or "lower"
unspecified arguments of a function
Vector of the same length as x
0 means: ok 1 means: violation
inequality used during evaluation
parametr sides is internally encoded as: 1 for "two-sided", 2 for "upper", 3 for "lower"
# NOT RUN { Rule1(x = rnorm(10), lcl = 10, ucl = 100, sides = "two-sided") # }
Run the code above in your browser using DataLab