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.

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)

See also

line2network

Examples

data(Gulk) topologydots(rivers=Gulk)