Add to each line of a SpatialLinesDataFrame an additional vertex at its center.
The SpatialLinesDataframe to use
An object of class SpatialLinesDataframe (package sp)
#This is an internal function, no example provided
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.