neighbourSearch: neighbour search

View source: R/neighbourSearch.R

neighbourSearchR Documentation

neighbour search

Description

This function finds all the neighbours of a given Takens' vector. The neighbours are found using a box assisted algorithm that creates a wrapped grid with a given number of boxes per dimension.

Usage

neighbourSearch(takens, positionTakens, radius, number.boxes = NULL)

Arguments

takens

The matrix containing all the Takens' vectors (see buildTakens).

positionTakens

Integer denoting the Takens' vector whose neighbours will be searched.

radius

Distance in which the algorithm will search for neighbours.

number.boxes

Integer denoting the number of boxes per dimension that will be used to construct a wrapped grid (see Schreiber). If the user does not specify a number of boxes, this function estimates a proper number.

Value

A containing all the neighbours of the positionTakens-th Takens' vector. If the list is empty, that means that there is no neighbour of the positionTakens-th Takens' vector in the given radius.

Author(s)

Constantino A. Garcia

References

Schreiber, T. Efficient neighbor searching in nonlinear time series analysis. Int. J. Bifurcation and Chaos, 5, p. 349, (1995).

See Also

findAllNeighbours.


nonlinearTseries documentation built on March 31, 2022, 1:07 a.m.