plot_degree_distribution: Plot Degree Distribution

Description Usage Arguments Value Examples

View source: R/plot_degree_distribution_function.R

Description

This function plots degree distribution for any graph

Usage

1

Arguments

graph

igraph object

a

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

Value

Panel of ITN degree distribution plots

Examples

1
2
3
4
5
6
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")

MatthewSmith430/ITNr documentation built on Oct. 30, 2018, 8 a.m.