ITNdynamic function

Dynamic ITN

Dynamic ITN

This function produces a dynamic network object for ITNs. It cleans and adjusts the individual networks, so they are the same size. This dynamic network object can then be used to create animations, mapping changes over time and to calculate temporal network statistics

ITNdynamic(NETlist)

Arguments

  • NETlist: A list of International Trade Networks (igraph objects)

Returns

It returns the Dynamic Network Object

Examples

require(igraph) ##Create a set of random International Trade Networks (igraph objects) ##and add vertex names ITN1<-erdos.renyi.game(75,0.05,directed = TRUE) V(ITN1)$name<-1:vcount(ITN1) ITN2<-erdos.renyi.game(100,0.01,directed = TRUE) V(ITN2)$name<-1:vcount(ITN2) ITN3<-erdos.renyi.game(55,0.1,directed = TRUE) V(ITN3)$name<-1:vcount(ITN3) ##Create network list NETlist<-list(ITN1,ITN2,ITN3) ##Create Dynamic Network Object ITNdyn<-ITNdynamic(NETlist)
  • Maintainer: Matthew Smith
  • License: GPL-3
  • Last published: 2023-03-31

Useful links