removeduplicates: Remove Duplicates

Description Usage Arguments Value Author(s) See Also Examples

Description

Removes duplicated line segments, which can sometimes exist within a shapefile.

Usage

1

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

1
2
3
4
5
data(abstreams0)
zoomtoseg(seg=c(170,171,157),rivers=abstreams0)

abstreams1 <- removeduplicates(rivers=abstreams0)
zoomtoseg(seg=c(166,167,154),rivers=abstreams1)

mbtyers/riverdist documentation built on May 22, 2019, 12:58 p.m.