Learn R Programming

dci (version 1.0.2)

path_to_root: Find the path to the root (outlet) of the river network

Description

Find the path to the root (outlet) of the river network

Usage

path_to_root(seg)

Value

A list of logical vectors in order to move from the origin to the root (outlet).

Arguments

seg

A node label represented by a logical vector.