Learn R Programming

spNetwork (version 0.2.1)

add_center_lines: Add center vertex to lines

Description

Add to each line of a SpatialLinesDataFrame an additional vertex at its center.

Usage

add_center_lines(lines)

Arguments

lines

The SpatialLinesDataframe to use

Value

An object of class SpatialLinesDataframe (package sp)

Examples

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

Run the code above in your browser using DataLab