50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

nngeo (version 0.4.8)

k-Nearest Neighbor Join for Spatial Data

Description

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.

Copy Link

Version

Install

install.packages('nngeo')

Monthly Downloads

1,791

Version

0.4.8

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Michael Dorman

Last Published

April 17th, 2024