Learn R Programming

spNetwork (version 0.2.1)

remove_loop_lines: Remove loops

Description

Remove from a SpatialLinesDataFrame the lines that have the same starting and ending point.

Usage

remove_loop_lines(lines, digits)

Arguments

lines

A SpatialLinesDataFrame

digits

An integer indicating the number of digits to keep for the spatial coordinates

Value

A SpatialLinesDataFrame

Examples

Run this code
# NOT RUN {
#This is an internal function, no example provided
# }

Run the code above in your browser using DataLab