Network substructures

Network Analysis in R

James Curley

Associate Professor, University of Texas at Austin

Transitivity

triangles(g)
Network Analysis in R

Global transitivity

transitivity(g)
[1] 0.26
Network Analysis in R

Local transitivity

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
Network Analysis in R

Cliques

Network Analysis in R

Identifying cliques

largest_cliques(g)
+ 4/11 vertices, named:
[1] C F B E

max_cliques(g)
...
[[6]]
+ 3/11 vertices, named:
[1] A B E

[[7]]
+ 3/11 vertices, named:
[1] I C F

[[8]]
+ 4/11 vertices, named:
[1] E B F C
Network Analysis in R

Let's practice!

Network Analysis in R

Preparing Video For Download...