GetAdjacentPIPIndex: Get one of the Adjacent Perceptually Important Points (PIPs)...

Description Usage Arguments Value

Description

Retreives a the nearest PIP to the point designated by index on the side designated by side

Usage

1
GetAdjacentPIPIndex(index, is.pip, side)

Arguments

index

The numeric index of the point in is.pip, for which the adjacent pip will be retrieved

is.pip

A logical vector of points of the same length of the time series in question. TRUE, indicates that the point is a pip.

side

May be either "left" or "right". Designated the side on which the adjacent pip is to be found

Value

The index of the closes pip on the designated side of the given point.


joshmarsh/TSPatternQuery documentation built on May 19, 2019, 8:53 p.m.