getnodeind: Gets indices of nodes that are closest to given locations

View source: R/getnodeind.rivernet.r

getnodeindR Documentation

Gets indices of nodes that are closest to given locations

Description

Gets indices of nodes that are closest to given locations

Usage

getnodeind(net,x,y,...)

Arguments

net

Object of class "rivernet" e.g. read by the function rivernet.read.

x

Numerical vector of x coordinates of sites to be analyzed (needs to be of the same length as argument y).

y

Numerical vector of y coordinates of sites to be analyzed (needs to be of the same length as argument x).

...

.

Value

A data frame with the indices in the first and the distances in the second column.

See Also

rivernet.read, getreachind.rivernet, upstreamconnectivity.rivernet, adjacentreaches.rivernet,
utility.


rivernet documentation built on Aug. 28, 2023, 5:06 p.m.