knn | R Documentation |
Fast parallelized k-neareast neighbor searching algorithms for point cloud in LAS format
knn(data, k = 10)
knnx(data, query, k = 10)
data |
LAS object for input point cloud |
k |
number of nearest neighbors to search. |
query |
LAS object for query locations |
a list contains:
**nn.index** an n x k matrix for the nearest neighbor indice.
**nn.dist** an n x k matrix for the nearest neighbor Euclidean distances.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.