[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Single mode centralization: closeness
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] Single mode centralization: closeness |
Date: |
Thu, 28 Oct 2010 11:13:58 +0200 |
Hi Simone,
On Tue, Oct 26, 2010 at 5:35 PM, Simone Gabbriellini
<address@hidden> wrote:
[...]
> In order to produce single mode closeness centralization, I have to produce
> closeness first. Because I need a different normalization than (n-1), what is
> the best way in igraph to just get the inverse of the total geodesic distance
> from a node to all other nodes in the network (and then divide it by a custom
> value for normalization)?
closeness(G) / (vcount(G)-1)
seems to be quite simple for the inverse of the total geodesic distance.
Gabor
> thanks in advance,
> Simone
>
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
--
Gabor Csardi <address@hidden> UNIL DGM