Rule3 {Rspc}R Documentation

Rule 3

Description

Six points in a row steadily increasing or decreasing.

Usage

Rule3(x, nPoints = 6, convention = 1, equalBreaksSeries = 1, ...)

Arguments

x

Numerical vector

nPoints

Sequence of consequtive points to be evaluated

convention

Calculation according to 'minitab' or 'jmp' (see details)

equalBreaksSeries

Equal values break consequtive series of points

...

unspecified arguments of a function

Details

0 means: ok
1 means: violation

parameter equalBreakSeries is internally encoded as: 1 for TRUE and 2 for FALSE

parameter convention is internally encoded as: 1 for 'minitab' and 2 for 'jmp'

Difference in convention parameter is as follows:
'minitab' - seven points in a row steadily increasing or decreasing
'jmp' - six points in a row steadily increasing or decreasing

Value

Vector of the same length as x

Examples

Rule3(x = rnorm(20), nPoints = 6, convention = 1, equalBreaksSeries = 1)

[Package Rspc version 1.2.2 Index]