Igraph R包具有已实现的边介性中心性。我知道在文献中还研究了其他边缘中心性度量。是否有包含一些其他边缘中心性度量的软件包,例如k-path边缘中心性度量?我们可以使用所讨论的图的折线图来计算边中心性指数吗?
发布于 2018-10-10 01:19:44
我相信,CINNA包on CRAN支持所有类型的中心性度量,包括k路径边缘中心性。
您可以使用以下命令查看度量值:
library("igraph")
library("CINNA")
g <- erdos.renyi.game(100, 0.2)
proper_centralities(g)
#[1] "subgraph centrality scores"
#[2] "Topological Coefficient"
#[3] "Average Distance"
#[4] "Barycenter Centrality"
#[5] "BottleNeck Centrality"
#[6] "Centroid value"
#[7] "Closeness Centrality (Freeman)"
# ...
#[16] "K-core Decomposition"
#[17] "Geodesic K-Path Centrality"
#[18] "Katz Centrality (Katz Status Index)"
# ...
#[41] "Stress Centrality"
#[42] "Load Centrality"
#[43] "Flow Betweenness Centrality"
#[44] "Information Centrality"
#[45] "Dangalchev Closeness Centrality"
#[46] "Group Centrality"
#[47] "Harmonic Centrality"
#[48] "Local Bridging Centrality"
#[49] "Wiener Index Centrality" 如你所见,有很多可供选择的。calculate_centralities函数可以计算给定图形的度量值。
https://stackoverflow.com/questions/52726215
复制相似问题