Learn R Programming

dci (version 1.0.2)

join_attributes: Join variables from network nodes to river_net object.

Description

Join variables from network nodes to river_net object.

Usage

join_attributes(net, nodes, tolerance = NULL)

Value

A river_net object with the supplied nodes' attributes joined to its nodes.

Arguments

nodes

An sf object of "barrier", "outlet", and "poi" points.

tolerance

A numeric value specifying the snapping distance (in map units) to align points to the river network. Defaults to NULL, meaning no snapping.