View source: R/path_geodesic_utils.R
| geodesic.knn | R Documentation |
Estimate Geodesic Nearest Neighbors Within a Point Cloud
geodesic.knn(X, k, K = 5, G = NULL)
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 |
A list with nn.index and nn.dist matrices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.