Rule2: Rule 2

Description Usage Arguments Details Value Examples

Description

Nine points in a row are on one side of the central line.

Usage

1
Rule2(x, cl, nPoints = 9, ...)

Arguments

x

Numerical vector

cl

central line, single number

nPoints

Sequence of consequtive points to be evaluated

...

unspecified arguments of a function

Details

0 means: ok
1 means: violation

inequality used during evaluation

Value

Vector of the same length as x

Examples

1
Rule2(x = rnorm(20), cl=0, nPoints = 9)

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.