Weijia,
if you only need degree centralization, Gabor suggests me those lines
of code and they work great:
## undirected graph
centralization<-(sum(max(degree(g))-degree(g)))/(vcount(g)-1)/
(vcount(g)-2
## directed graph
centralization<-(sum(max(degree(g))-degree(g)))/(2*vcount(g)-1)/
(vc
Weijia, centralization was not included in igraph, because really, it
takes only writing a one line function to do it. But it is on our TODO
list and will be included soon.
E.g. for degree see the thread that starts here:
http://lists.gnu.org/archive/html/igraph-help/2008-11/msg00064.html
You can
Hi all,
Is there anyone who ever used igraph to calculate the index of
"centralization" ?
I tried my best but can't find it in igraph.
The brief introduction to "centralization" can be found here , and I think
it's an important index for measuring the centrality on the aggregated
level.(http://fa
3 matches
Mail list logo