ITNhistdegdist: ITN Histogram Degree Distribution

Description Usage Arguments Value Examples

View source: R/ITNhistdegdist_function.R

Description

This function plots the histogram degree distribution for the ITN

Usage

1

Arguments

gs

International Trade Network - igraph object

Value

Panel of ITN histogram degree distribution plots

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
require(igraph)

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

##Add edge weights
E(ITN)$weight<-runif(ecount(ITN), 0, 1)

##Plot degree distribution histogram
hist_deg_dist<-ITNhistdegdist(ITN)

ITNr documentation built on March 13, 2020, 1:48 a.m.

Related to ITNhistdegdist in ITNr...