Learn R Programming

riverdist (version 0.17.0)

dissolve: Dissolve

Description

Acts like a spatial dissolve within a GIS environment. Simplifies a river network object by combining "runs" of segments with no other connections.

Usage

dissolve(rivers)

Value

A new river network object with segments combined

Arguments

rivers

The river network object to use

Author

Matt Tyers

See Also

line2network

Examples

Run this code
data(Kenai2)
plot(x=Kenai2)

Kenai2dissolve <- dissolve(rivers=Kenai2)
plot(x=Kenai2dissolve)

Run the code above in your browser using DataLab