geodesic.knn: Estimate Geodesic Nearest Neighbors Within a Point Cloud

View source: R/path_geodesic_utils.R

geodesic.knnR Documentation

Estimate Geodesic Nearest Neighbors Within a Point Cloud

Description

Estimate Geodesic Nearest Neighbors Within a Point Cloud

Usage

geodesic.knn(X, k, K = 5, G = NULL)

Arguments

X

Numeric matrix of observations.

k

Number of nearest neighbors to return.

K

Number of neighbors used to build the graph.

G

Optional legacy graph argument passed to estimate.geodesic.distances.

Value

A list with nn.index and nn.dist matrices.


dgraphs documentation built on Aug. 21, 2026, 1:08 a.m.