rcpp_get_nearest_neighbor: First nearest neighbor distance

Description Usage Arguments Value Author(s)

Description

Efficiently calculate the distance to the first nearest neighbor. Quasi linear runtime.

Usage

1

Arguments

points

A two numeric matrix, where the first two columns are x and y

Value

Vector

Author(s)

Florian Privé [email protected]


r-spatialecology/landscapemetrics documentation built on May 20, 2019, noon