View source: R/path_geodesic_utils.R
| geodesic.knnx | R Documentation |
Estimate Geodesic Nearest Neighbors from Grid Points to Data Points
geodesic.knnx(X, X.grid, k, method = "knn.graph", K = 5)
X |
Numeric data matrix. |
X.grid |
Numeric grid matrix associated with |
k |
Number of nearest data neighbors returned for each grid point. |
method |
Legacy graph construction method argument. |
K |
Legacy graph neighbor argument. The implementation resets this to
|
A list with graph vertices, graph edges, nn.index, and nn.dist.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.