Description Usage Arguments Value Examples
View source: R/graph2effdist.r
This function accepts an igraph object generated by package igraph and calcuates the effective distances.
1  | graph2effdist(g, edge.attribute = NULL)
 | 
g | 
 An igraph object.  | 
edge.attribute | 
 An attribute from the graph, e.g. weight.  | 
A square matrix with effective distances between nodes.
1 2  | # generates object 'units_effdist':
graph2effdist(units_igraph, edge.attribute = "weight")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.