plot_degree_distribution {ITNr}R Documentation

Plot Degree Distribution

Description

This function plots degree distribution for any graph

Usage

plot_degree_distribution(graph, a)

Arguments

graph

igraph object

a

mode - "in","out","all

Value

Panel of ITN degree distribution plots

Examples

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")

[Package ITNr version 0.7.0 Index]