Rule3: Rule 3

Description Usage Arguments Details Value Examples

Description

Six points in a row steadily increasing or decreasing.

Usage

1
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

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

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.