r - igraph R 中的边缘中心性度量

标签 r igraph

Igraph R 包具有实现的边介数中心性。我知道文献中还研究了其他边缘中心性度量。是否有包含一些其他边缘中心性度量的软件包,例如 k 路径边缘中心性度量?我们可以使用问题图的折线图来计算边中心性指数吗?

最佳答案

CINNAon 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 函数可以计算给定图的度量。

关于r - igraph R 中的边缘中心性度量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52726215/

相关文章:

c++ - 如何通过名称获取 id 顶点?

r - 如何在iGraph中为不同顶点设置不同的透明度

r - 图上顶点子集周围的多边形/轮廓(比 igraph 中的 mark.groups 更精确)

r - 使用 RColorBrewer 根据顶点属性设置 igraph 顶点颜色

r - 尝试将离散 stat_bin_2d 与连续 stat_密度_2d 绘制在一起

不同窗口大小的滚动总和

R-计算从顶行到底行的数据框列的平均值

r - 列出 R 中的所有整数组合

r - igraph layout.fruchterman.reingold 离群值(包含示例图像)

r - 更改 googleVis R 包中 gvisMap 上的点颜色