Rule2 {Rspc}R Documentation

Rule 2

Description

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

Usage

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

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

[Package Rspc version 1.2.2 Index]