Network Analysis in R
James Curley
Associate Professor, University of Texas at Austin
triangles(g)
transitivity(g)
[1] 0.26
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
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