Learn R Programming

rivernet (version 1.2.3)

splitreach: 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,...)

Value

The complete rivernet with the splitted reach.

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.

...

.

See Also

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