Learn R Programming

ITNr (version 0.7.0)

ITNdegdist: ITN Degree Distribution

Description

This function plots the ITN (probability) degree distribtuion

Usage

ITNdegdist(gs)

Value

Panel of ITN degree distribution plots

Arguments

gs

International Trade Network - igraph object

Examples

Run this code
require(igraph)

##Create random International Trade Network (igraph object)
ITN<-erdos.renyi.game(75,0.05,directed = TRUE)

##Plot degree distribution
deg_dist_plot<-ITNdegdist(ITN)

Run the code above in your browser using DataLab