I need to convert a shapefile (ESRI) of roads type SpatialLinesDataFrame
in a neural network in R.
I do not know how to remove nodes or vertices of the shape. Determine the length of each edge between nodes. With these parameters I can create the network using the packet (network).
Summary: Input shapefile for the igraph network in R.
Thank you from the South of Chile.