SpatialGraph-class | R Documentation |
Class for spatial networks
Objects can be created by calls to the function SpatialGraph
v
:Object of class "SpatialPointsDataFrame"
,
whose data.frame must contain the "ID" field as unique identifier
e
:Object of class "SpatialLinesDataFrame"
,
whose data.frame must contain the fields v0
and v1
matching the unique identifiers "ID" in the slot v
data.frame
dist
:Matrix, representing the undirected along-graph distance between all vertices in the network
path
:list with variable length arrays describing the minimum distance path between vertices
Javier Garcia-Pintado, e-mail: j.garcia-pintado@reading.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.