Learn R Programming

ITNr (version 0.7.0)

ITNproperties_base: ITN Properties Base

Description

This function calculates network level properties for the ITN. These include: -Size (number of nodes) -Density -Reciprocity -Diameter -Average path length -Average node strength -Average Degree -Betweenness Centralisation -Closeness Centralisation -Eigenvector Centralisation -Out Degree Centralisation -In Degree Centralisation -All Degree Centralisation -Clustering coefficent (transitivity) -Clustering Weighted -Degree Assortativity

Usage

ITNproperties_base(gs, weighted)

Value

Table of centrality results (dataframe)

Arguments

gs

International Trade Network - igraph object

weighted

TRUE-weighted, FALSE-binary

Examples

Run this code
##Load the network
data(ELEnet16)

##Calculate the network properties
ITNPROP<-ITNproperties_base(ELEnet16,TRUE)

Run the code above in your browser using DataLab