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

View source: R/calculate_dci.R

path_to_rootR Documentation

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)

Arguments

seg

A node label represented by a logical vector.

Value

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


dci documentation built on June 14, 2025, 1:08 a.m.