crqa (version 1.0.6)

theiler: Theiler window

Description

Remove recurrent points on the main diagonal, and parallel diagonals, as specified by the window parameter.

Usage

theiler(S, tw)

Arguments

S

A binary matrix representing a recurrent plot

tw

The size of the theiler window.

Value

A sparse matrix with recurrent points removed as specified by the window parameter.

Details

The default value of the window parameter is 0. A value of 1 would remove the points along the main diagonal. A value of 2 would remove the points along the main diagonal, as well as the point of the bands +|- 1 around it.

Examples

Run this code
# NOT RUN {
## build a random x matrix
r = 100; c = 100; tw = 1
S = round(matrix(runif(r*c), r, c))

ans = theiler(S, tw)

# }

Run the code above in your browser using DataLab