K-nearest neighbor search for projected and non-projected 'sf' spatial layers. Nearest neighbor search uses (1) function 'nn2' from package 'RANN' for projected point data, or (2) function 'st_distance' from package 'sf' for other types of spatial data.
|License||MIT + file LICENSE|
|Package repository||View on GitHub|
Install the latest version of this package by entering the following in R:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.