Rule7: Rule 7

Description Usage Arguments Details Value Examples

Description

Fifteen points in a row are all within 1 standard deviation of the mean on either side of the mean.

Usage

1
Rule7(x, nPoints = 15, zoneB, ...)

Arguments

x

Numerical vector

nPoints

Sequence of consequtive points to be evaluated

zoneB

Vector of zone borders

...

unspecified arguments of a function

Details

0 means: ok
1 means: violation

equality used during evaluation

Value

Vector of the same length as x

Examples

1
2
3
4
limits = CalculateLimits(x = rnorm(10), lcl = NA, cl = 100, ucl = NA, type = 'i')
zones = CalculateZoneBorders(limits)
Rule7(x = rnorm(20), zoneB = zones, nPoints = 15)
#zones is object created by function CalculateZoneBorders()

Example output

 [1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Rspc documentation built on May 2, 2019, 9:19 a.m.