Plotting of a two-mode network with multilevel structure revealed

plot_globalnet(edges, actors, time)

Arguments

edges

A data frame that includes (e.g. country) actors in the first column, and institutional ties in the second column.

actors

A data frame that includes 'StatID' variable (for identification), and 'Latitude' and 'Longitude' variables for plotting.

time

A date to render network for.

Value

An html/js viewer pane

Details

Will separate and plot bilateral and pluri-/mini-/multilateral agreements with different colours. It will also plot a pin for the centroid marker of each multilateral agreement.

Examples

plot_globalnet(mat)
#> Loading required package: igraph
#> #> Attaching package: ‘igraph’
#> The following object is masked from ‘package:testthat’: #> #> compare
#> The following objects are masked from ‘package:stats’: #> #> decompose, spectrum
#> The following object is masked from ‘package:base’: #> #> union
#> Error in plot_globalnet(mat): object 'mat' not found