trade_net_map: plot the trade network on map and color the country according...

Description Usage Arguments Value

View source: R/trade_net_map.r

Description

plot the trade network on map and color the country according to the core and periphery

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
trade_net_map(
  net,
  core_node_col = "red",
  periphery_node_col = "orange",
  mode = c("all", "out", "in"),
  label.size = 5,
  arrow.size = 0.3,
  segment.size = 0.25,
  legend.size = 5,
  scale.edge = TRUE,
  scale.edge.max = 5,
  cluster_algo = "cluster_infomap_new",
  prob = 0.8,
  title = NULL
)

Arguments

net

the trade network

core_node_col

the core node color determined by the coreness ranking

periphery_node_col

the color of the periphery node

mode

the type of the strength

Value

a ggplot object


zlfccnu/econophysics documentation built on Feb. 23, 2022, 10:22 p.m.