Learn R Programming

riverdist (version 0.17.0)

topologydots: Check Connectivity of a River Network Object

Description

Produces a graphical check of the connectivity of a river network object. It produces a plot of the river network object, and overlays red dots at non-connected endpoints and green dots at connected endpoints.

Usage

topologydots(rivers, add = FALSE, ...)

Arguments

rivers

The river network object to check

add

Whether call a new plot (FALSE) or add dots to an existing plot (TRUE). Defaults to FALSE.

...

Additional plotting arguments (see par)

Author

Matt Tyers

See Also

line2network

Examples

Run this code
data(Gulk)
topologydots(rivers=Gulk)

Run the code above in your browser using DataLab