rcpp_get_nearest_neighbor: First nearest neighbor distance

View source: R/RcppExports.R

rcpp_get_nearest_neighborR Documentation

First nearest neighbor distance

Description

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

Usage

rcpp_get_nearest_neighbor(points)

Arguments

points

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

Value

Vector

Author(s)

Florian Privé florian.prive.21@gmail.com


landscapeecology/landscapemetrics documentation built on April 7, 2024, 11:11 p.m.