network2map: plot network on world map

Description Usage Arguments Value

View source: R/network2map.r

Description

plot network on world map

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
network2map(
  GRAPH,
  node_size = NULL,
  node_color = NULL,
  inter_com_size = 0.5,
  inner_com_size = 0.8,
  label_color = NULL,
  label_size = NULL,
  hue = "blue",
  luminosity = "bright",
  inter_com_color = "red",
  inter_com_type = 2,
  random_color = FALSE
)

Arguments

GRAPH

an igraph object

node_size

the predefined node size for the plot, maybe determined inside the func

node_color

the predefined node color for the plot, maybe determined inside the func

inter_com_size

inter community link size

label_color

the color of the node label

label_size

the size of the node label

hue

the central color of the random generate color code

luminosity

the color type, "random", "light", "bright", "dark"

inter_com_color

the inter community link colors

inter_com_type

the inter community link type

random_color

the way to generate color, random or not

Value

an ggplot object


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