calcVecNNdists: Calculate a vector of nearest neighbours

View source: R/calcNNdists.R

calcVecNNdistsR Documentation

Calculate a vector of nearest neighbours

Description

Calculate a vector of nearest neighbours

Usage

calcVecNNdists(x, k = 2, ...)

Arguments

x

a numeric vector.

...

parameters passed to the RANN:nn2() function.

Value

a vector with nearest neighbours

Examples

library(ARCOS)




dmattek/ARCOS documentation built on Dec. 5, 2024, 11:02 p.m.