Rule1 {Rspc}R Documentation

Rule 1

Description

One point beyond the control limits

Usage

Rule1(x, lcl, ucl, sides, ...)

Arguments

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

Details

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"

Value

Vector of the same length as x

Examples

Rule1(x = rnorm(10), lcl = 10, ucl = 100, sides = "two-sided")

[Package Rspc version 1.2.2 Index]