|
From: | Gábor Csárdi |
Subject: | Re: [igraph] Selecting vertices for centrality analysis in R |
Date: | Mon, 17 Dec 2012 22:45:38 -0500 |
bet<-betweenness(lg,v=V(lg)[name %in% lo$road_id],directed=F,normalized=T,weights=E(lg)$metric)
As a final point: I would like the weight to be selected dynamically so that I can repeat the analysis in a loop for different weights. How can I refer to the Edge attributes dynamically, using an index for example.
Thank you in advance,
Jorge
--
Jorge Gil
PhD Candidate
TU Delft / Faculty of Architecture
Department of Urbanism
Chair of Spatial Planning and Strategy
Julianalaan 134
2628 BL Delft
P.O. Box 5043
2600 GA Delft
The Netherlands
www.tudelft.nl
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |