removeduplicates {riverdist} | R Documentation |
Remove Duplicates
Description
Removes duplicated line segments, which can sometimes exist within a shapefile.
Usage
removeduplicates(rivers)
Arguments
rivers |
The river network object to use |
Value
A new river network object with duplicated segments removed, see rivernetwork
Author(s)
Matt Tyers
See Also
line2network
Examples
data(abstreams0)
zoomtoseg(seg=c(170,171,157),rivers=abstreams0)
abstreams1 <- removeduplicates(rivers=abstreams0)
zoomtoseg(seg=c(166,167,154),rivers=abstreams1)
[Package riverdist version 0.16.3 Index]