splitreach {rivernet}R 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.


[Package rivernet version 1.2.3 Index]