网络子结构

R 中的网络分析

James Curley

Associate Professor, University of Texas at Austin

传递性

triangles(g)
R 中的网络分析

全局传递性

transitivity(g)
[1] 0.26
R 中的网络分析

局部传递性

transitivity(g, 
             vids = 'A', 
             type = "local")
0.2
count_triangles(g, vids = 'A')
3
count_triangles(g, vids = 'F')
2
transitivity(g, 
             vids = 'F', 
             type = "local")
0.33
R 中的网络分析

团(Clique)

R 中的网络分析

识别团

largest_cliques(g)
+ 4/11 个顶点,命名:
[1] C F B E

max_cliques(g)
...
[[6]]
+ 3/11 个顶点,命名:
[1] A B E

[[7]]
+ 3/11 个顶点,命名:
[1] I C F

[[8]]
+ 4/11 个顶点,命名:
[1] E B F C
R 中的网络分析

让我们来练习!

R 中的网络分析

Preparing Video For Download...