Description Details Note Author(s)
“edgelist” is an interchange structure of edges from a spatial network into an “igraph” object. It is a three-column matrix, of which each row is designed as [EdgeID,NodeID(from),NodeID(to)].
Both “nodelist” and “edgelist” are interchange structures of nodes and edges extracted from a spatial network in a “SpatialLines” or “SpatialLinesDataFrame” object. They are always concerned together, and returned by the function readshpnw as initial results for the following steps.
If the parameter “Detailed” specified in readshpnw is TRUE, all the endpoints of polyines will be extracted as nodes, then the converted graph will have the same spatial details with the transformed “SpatialLines” or “SpatialLinesDataFrame” object. To retrieve the original attributes in the “SpatialLinesDataFrame” object, the original edge ID is also kept and the row structure will be [EdgeID,eid,NodeID(from),NodeID(to)], in which EdgeID refers to the new edge id while eid represents the original edge ID.
Binbin Lu lubinbin220@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.