Learn R Programming

spNetwork (version 0.2.1)

lines_extremities: Get lines extremities

Description

Generate a SpatialPointsDataFrame with the first and last vertex of each line in a SpatialLinesDataFrame.

Usage

lines_extremities(lines)

Arguments

lines

A SpatialLinesDataFrame

Value

A SpatialPointsDataFrame

Examples

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

Run the code above in your browser using DataLab