rcpp_parallel_nearest_facility_nonself: Find nearest neighbor of x and measure distance (non-self)

View source: R/RcppExports.R

rcpp_parallel_nearest_facility_nonselfR Documentation

Find nearest neighbor of x and measure distance (non-self)

Description

Find nearest neighbor of x and measure distance (non-self)

Usage

rcpp_parallel_nearest_facility_nonself(x, y)

Arguments

x

matrix of coordinates. In the same format as st_coordinates output (X, Y)

y

Same as x.

Value

Matrix. 2 columns. First column is index of closest unit in y. Second column is distance


kylebutts/kfbmisc documentation built on April 17, 2025, 5:20 p.m.