nngeo: k-Nearest Neighbor Join for Spatial Data

K-nearest neighbor search for projected and non-projected 'sf' spatial layers. Nearest neighbor search uses (1) C code from 'GeographicLib' for lon-lat point layers, (2) function knn() from package 'nabor' for projected point layers, or (3) function st_distance() from package 'sf' for line or polygon layers. The package also includes several other utility functions for spatial analysis.

Package details

AuthorMichael Dorman [aut, cre], Johnathan Rush [ctb], Ian Hough [ctb], Dominic Russel [ctb], Luigi Ranghetti [ctb], Attilio Benini [ctb], Arnaud Tarroux [ctb], Charles F.F Karney [ctb, cph] (Author of included C code from 'GeographicLib' for geodesic distance)
MaintainerMichael Dorman <dorman@post.bgu.ac.il>
LicenseMIT + file LICENSE
Version0.4.7
URL https://michaeldorman.github.io/nngeo/ https://github.com/michaeldorman/nngeo/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("nngeo")

Try the nngeo package in your browser

Any scripts or data that you put into this service are public.

nngeo documentation built on April 25, 2023, 1:10 a.m.