igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Question regarding iGraph Closeness centrality of vertices


From: chris
Subject: Re: [igraph] Question regarding iGraph Closeness centrality of vertices
Date: Thu, 9 May 2019 15:56:29 +0200

Dear all,

 

Since I didn’t receive any feedback, your help would be very much appreciated.

 

Many thanks in advance and best regards,

Chris

 

Von: igraph-help <address@hidden> Im Auftrag von address@hidden
Gesendet: Freitag, 3. Mai 2019 13:53
An: address@hidden
Betreff: [igraph] Question regarding iGraph Closeness centrality of vertices

 

Dear help community,

 

Many thanks for providing your help! I currently compute centralization measures for vertices, in particular centralization degree, betweenness and closeness. I compute graphs for directed and undirected vertices. While the centralization.degree and centralization.betweenness function make a difference in their computed results for directed and undirected graphs, centralization.closeness apparently does not. Then I also tried the function “closeness” provided by you and also this does not seem to take into account differences for directed and undirected graphs. May I ask you kindly, to provide me your thoughts on this? This would be very much appreciated!

 

The exemplary edgelist looks like this:

 

I use three different function to get my graphs:

  • graph_tmp<-graph_from_edgelist(el,directed=TRUE)
  • graph_tmp_red<-simplify(graph_tmp,remove.multiple = TRUE)
  • graph_tmp_2<-graph_from_adjacency_matrix(get.adjacency(graph_tmp), mode = c("undirected"), weighted = NULL, diag = TRUE, add.colnames = NULL, add.rownames = NA)

 

Different variations of the centralization.closeness function seem to not make any difference as far as directed and undirected:

 

For closeness, it seems “in” and “out” as variations do make a difference, while again directed and undirected is not differentiated in total:

 

Many thanks for your response it advance and have a great day!

 

Best regards,

Christopher Lonzius

 

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]