SachaEpskamp / qgraph

Developmental version of qgraph
GNU General Public License v2.0
68 stars 21 forks source link

Confusion about centrality #38

Closed Mosen111 closed 4 years ago

Mosen111 commented 4 years ago

Hi When I use the centrality function, I get: OutDegree, InDegree, Closeness, Betweenness, InExpectedInfluence, OutExpectedInfluence, ShortestPathLengths, and ShortestPaths values. Surprisingly, there is no "strength" values in the output. However, when I use the centralityplot function, I get a plot of "strength". Can you please let me know why the centrality function does not output node strength values? how could one obtain numerical node strength values?

many thanks in advance,

SachaEpskamp commented 4 years ago

Strength is the term used for outdegree / indegree (they are the same then) in weighted undirected graphs. Hence, you can obtain the raw estimates for strength using either OutDegree or InDegree.

Mosen111 commented 4 years ago

Thanks a lot Sacha.