plot_degree_distribution: Plot Degree Distribution

View source: R/plot_degree_distribution_function.R

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

ITNr documentation built on March 31, 2023, 6:59 p.m.