[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] Betweenness centrality issue
From: |
Antoniazzi Marco |
Subject: |
[igraph] Betweenness centrality issue |
Date: |
Mon, 13 May 2013 00:27:58 +0200 |
Hi all,
I have two matrices which look as following:
Matrix A: 14*14 with weighted edges.
Matrix B: 14*14 where I changed all the weighted edges with 1.
I wanted to check whether igraph results are correct but I can't figure out the
explanations to the following problem:
GraphA <- graph.adjacency(MatrixA, mode=c("directed"),weighted = NULL )
Betweenness <- betweenness ( GraphA, directed = TRUE,
weights = NULL, normalized=TRUE)
GraphB <- graph.adjacency(MatrixB, mode=c("directed"), weighted= NULL)
BetweennessN <- betweenness ( GraphB, directed = TRUE,
weights = NULL, normalized=TRUE)
from which I should get exactly the same results as I specify weighted=NULL but
indeed the results are different one from the other.
I have tried to remove 'normalized' argument to see whether it is biased but I
get different results as well...
Any thoughts?
Thank you very much for your help!!
Marko
- [igraph] Betweenness centrality issue,
Antoniazzi Marco <=
- Re: [igraph] Betweenness centrality issue, Gábor Csárdi, 2013/05/12
- Re: [igraph] Betweenness centrality issue, Antoniazzi Marco, 2013/05/13
- Re: [igraph] Betweenness centrality issue, Gábor Csárdi, 2013/05/16
- Re: [igraph] Betweenness centrality issue, Marco Antoniazzi, 2013/05/16
- Re: [igraph] Betweenness centrality issue, Gábor Csárdi, 2013/05/16
- Re: [igraph] Betweenness centrality issue, Marco Antoniazzi, 2013/05/16
- Re: [igraph] Betweenness centrality issue, Gábor Csárdi, 2013/05/17