Description Usage Arguments Details
Perform a nearest neighbour lookup using a precomputed index structure.
1 | lookupKNNDataFrame(pair, points, k)
|
pair |
the spatial indexing structure to do lookups with respect to |
points |
A data.frame containing the points to lookup neighbours of |
k |
number of neighbours to find |
Note that this is a lower level function that does no kind
of sanity checking, it may fail in strange ways if
points
has the an incorrect number of columns, and
column names are not taken into account. Furthermore 0
based indices are returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.