Rule1 {Rspc} | R Documentation |
One point beyond the control limits
Rule1(x, lcl, ucl, sides, ...)
x |
Numerical vector |
lcl |
Lower control limit, single number |
ucl |
Upper control limit, single number |
sides |
Monitored side of the process: either "two-sided" (default), "upper" or "lower" |
... |
unspecified arguments of a function |
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"
Vector of the same length as x
Rule1(x = rnorm(10), lcl = 10, ucl = 100, sides = "two-sided")