ITNblock_se: ITN Blockmodel & Structural Equivalence

Description Usage Arguments Value Examples

View source: R/ITNblockse_function.R

Description

This function calculates block membership for ITN and structural equivalence between countries

Usage

1

Arguments

gs

International Trade Network - igraph object

Value

List object containing block membership and structural equivalence matrix results

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
require(igraph)
require(sna)
require(intergraph)

##Create random International Trade Network (igraph object)
ITN<-erdos.renyi.game(50,0.05,directed = TRUE)

##Add edge weights
E(ITN)$weight<-runif(ecount(ITN), 0, 1)

##Blockmodel & structural equivalence analysis
blockse<-ITNblock_se(ITN)

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

Related to ITNblock_se in ITNr...