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

1 | ```
theiler(S, tw)
``` |

`S` |
A binary matrix representing a recurrent plot |

`tw` |
The size of the theiler window. |

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.

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

Moreno I. Coco (moreno.cocoi@gmail.com)

1 2 3 4 5 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.