ITNcorr function

ITN Correlation Plot

ITN Correlation Plot

This function plots the correlation between degree and strength scores

ITNcorr(gs)

Arguments

  • gs: International Trade Network - igraph object

Returns

Correlation plot

Examples

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 correlation matrix between degree and strength scores. corr_plot<-ITNcorr(ITN)
  • Maintainer: Matthew Smith
  • License: GPL-3
  • Last published: 2023-03-31

Useful links