View source: R/neighbourSearch.R
neighbourSearch | R Documentation |
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.
neighbourSearch(takens, positionTakens, radius, number.boxes = NULL)
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. |
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.
Constantino A. Garcia
Schreiber, T. Efficient neighbor searching in nonlinear time series analysis. Int. J. Bifurcation and Chaos, 5, p. 349, (1995).
findAllNeighbours
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.