plot_degree_distribution function

Plot Degree Distribution

Plot Degree Distribution

This function plots degree distribution for any graph

plot_degree_distribution(graph, a)

Arguments

  • graph: igraph object
  • a: mode - "in","out","all

Returns

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")
  • Maintainer: Matthew Smith
  • License: GPL-3
  • Last published: 2023-03-31

Useful links