distSGv | R Documentation |
Calculate the distance slot in a SpatialGraph. This
is done via a call to the library igraph
, which does the
calculation. Distances are undirected.
distSGv(SG, getpath = FALSE)
SG |
SpatialGraph |
getpath |
boolean. Whether to calculate the |
A SpatialGraph with the slot dist
(and
path
if requested) recalculated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.