Adds a vector of cumulative distances to a river network. Called internally.

addcumuldist(rivers)

Arguments

rivers

The river network object to use.

Value

Returns an object of class "rivernetwork" containing all spatial and topological information. See rivernetwork-class.

Examples

Gulk1 <- addcumuldist(rivers=Gulk)