nearest_node: Find the node in a network that is closest to a target...

View source: R/network.R

nearest_nodeR Documentation

Find the node in a network that is closest to a target geometry.

Description

Find the node in a network that is closest to a target geometry.

Usage

nearest_node(network, target)

Arguments

network

A network object

target

The target geometry

Value

A node in the network as a simple feature geometry


rcrisp documentation built on Aug. 8, 2025, 6:42 p.m.