Gets indices of reaches that are closest to given locations

Share:

Description

Gets indices of reaches that are closest to given locations

Usage

1
getreachind(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, upstreamconnectivity.rivernet, adjacentreaches.rivernet,
utility.