Ch. 2 Graph Theory

This chapter largely introduces the basics of network science, and has a bestiary of metrics to describe a network. I’ll just list them here. All the networks are considered undirected.

# make a graph to check our answers for this whole part
n <- 10
p <- 0.5
g <- igraph::erdos.renyi.game(n = n, p.or.m = p, type = "gnp")
plot(g)