splitreach: Split a reach into two sub-reaches

View source: R/splitreach.rivernet.r

splitreachR Documentation

Split a reach into two sub-reaches

Description

Splits a reach at a given part of its length into two subreaches

Usage

splitreach(net,reachind,fract,...)

Arguments

net

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

reachind

Index of a reach in the rivernet object.

fract

Fraction of the length at which the reach should be split. Needs to be between 0 and 1. The fraction is counted from the logical start point of the reach.

...

.

Value

The complete rivernet with the splitted reach.

See Also

rivernet.read, getnodeind.rivernet, upstreamconnectivity.rivernet, adjacentreaches.rivernet,
utility.


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