Description Usage Arguments Value Examples
This function calculates a number of centrality metrics for the binary International Trade Network (ITN)
1 |
gs |
International Trade Network - binary igraph object |
Table of centrality results (dataframe)
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.