powered by
This function plots degree distribution for any graph
plot_degree_distribution(graph, a)
Panel of ITN degree distribution plots
igraph object
mode - "in","out","all
require(igraph) ##Create random International Trade Network (igraph object) ITN<-erdos.renyi.game(75,0.05,directed = TRUE) ##Plot out degree distribution plot_degree_distribution(ITN,"in")
Run the code above in your browser using DataLab