findNeighbor: findNeighbor a lower-level helper function

Description Usage Arguments Author(s)

View source: R/spatialTools.R

Description

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.

Usage

1
findNeighbor(x1, y1, x2, y2, radius, annulus = NULL)

Arguments

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.

Author(s)

Marco D. Visser


MarcoDVisser/FDPtools documentation built on May 7, 2019, 2:49 p.m.