重要且有影响力的顶点

R 中的网络分析

James Curley

Associate Professor, University of Texas at Austin

顶点重要性的度量

  • 度数(degree)

  • 中介中心性(betweenness)

  • 特征向量中心性(eigenvector centrality)

  • 接近中心性(closeness centrality)

  • PageRank 中心性(pagerank centrality)

R 中的网络分析

出度与入度

degree(g, mode = c("out"))
A B C D E F G H I J K L
1 1 1 1 1 3 0 1 1 1 1 1
R 中的网络分析

中介中心性

I 到 H:

I -> F -> E -> H
I -> F -> A -> E -> H

K 到 E:

K -> D -> A -> E

B 到 G:

B -> A -> E -> H -> F -> G
R 中的网络分析

中介中心性

betweenness(g, directed = TRUE)
 A  B  C  D  E  F  G  H  I  J  K  L 
24  0  5 10 23 16  0 17  0  0  0  0
betweenness(g, directed = TRUE, 
             normalized = TRUE)
   A    B    C    D    E    F   
0.22 0.00 0.05 0.09 0.21 0.15 
   G    H    I    J    K    L
0.00 0.15 0.00 0.00 0.00 0.00
R 中的网络分析

让我们练习!

R 中的网络分析

Preparing Video For Download...