snap_to_node: snap to node

Description Usage Arguments Value

View source: R/spat.R

Description

return id of node nearest to given outlet distance

Usage

1
snap_to_node(dist, outlet, ids)

Arguments

dist

is a vector of outlet distances to place on the channel

outlet

is a vector of outlet distances from the channel node network

ids

is a vector of ids from the channel node network

Value

vector of ids from 'ids' nearest to distances in 'dist'


crumplecup/muddier documentation built on Aug. 18, 2021, 11:02 a.m.