View source: R/plot_degree_distribution_function.R
plot_degree_distribution | R Documentation |
This function plots degree distribution for any graph
plot_degree_distribution(graph, a)
graph |
igraph object |
a |
mode - "in","out","all |
Panel of ITN degree distribution plots
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.