Learn R Programming

riverdist (version 0.17.0)

addcumuldist: Add Cumulative Distance to a River Network

Description

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

Usage

addcumuldist(rivers)

Value

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

Arguments

rivers

The river network object to use.

Author

Matt Tyers

Examples

Run this code
Gulk1 <- addcumuldist(rivers=Gulk)

Run the code above in your browser using DataLab