Description Usage Arguments Author(s)
Wrapper function which calls some underlying C code and returns a matrix with 1 or 0 indicating whether the distance between the points is smaller or equal to radius or within an annulus.
1 | findNeighbor(x1, y1, x2, y2, radius, annulus = NULL)
|
x1 |
x coordinates of points |
y1 |
y coordinates of points |
x2 |
reference point x coordinate |
y2 |
reference point y coordinate |
radius |
radius with which to test distance |
annulus |
radii of the two concentric annulus circles. The smallest radius if the first element. |
Marco D. Visser
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.