ITNcentrality_binary: ITN Centrality for binary networks

Description Usage Arguments Value Examples

View source: R/ITNcentrality_binary_function.R

Description

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

Usage

1

Arguments

gs

International Trade Network - binary igraph object

Value

Table of centrality results (dataframe)

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 vertex names
V(ITN)$name<-1:vcount(ITN)

##Calculate the centrality measures
ITNCENT<-ITNcentrality_binary(ITN)

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