ITNcentrality_binary function

ITN Centrality for binary networks

ITN Centrality for binary networks

This function calculates a number of centrality metrics for the binary International Trade Network (ITN)

ITNcentrality_binary(gs)

Arguments

  • gs: International Trade Network - binary igraph object

Returns

Table of centrality results (dataframe)

Examples

require(igraph) ##Create random International Trade Network (igraph object) ITN<-erdos.renyi.game(75,0.05,directed = TRUE) ##Add vertex names V(ITN)$name<-1:vcount(ITN) ##Calculate the centrality measures ITNCENT<-ITNcentrality_binary(ITN)
  • Maintainer: Matthew Smith
  • License: GPL-3
  • Last published: 2023-03-31

Useful links