|
From: | Jorge Gil |
Subject: | Re: [igraph] Selecting vertices for centrality analysis in R |
Date: | Wed, 19 Dec 2012 15:55:45 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Hi Gabor, Thanks for the tips. Indeed using shortest.paths and get.all.shortest.paths I should be able to do "by hand" the analyses to get closeness and betweenness for a set of target vertices. Regarding the betweenness estimate in NetworkX, the value is obtained as you describe. It selects a given number k of vertices n, and calculates all shortest paths from k to n. See http://tinyurl.com/9pc4a67 The R2 I got was "only" .997 for 10% of the vertices, still surprising. This must be very influenced by the type of network, and might be much worse in some cases. In my case I'm using road networks and it seems to give a very good result taking only 10% of the time to calculate. Best regards, Jorge On 18/12/2012 19:24, Gábor Csárdi
wrote:
-- 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 |
[Prev in Thread] | Current Thread | [Next in Thread] |