chordDiagramFromNet: plot the chord diagram for the uncomtrade among different...

Description Usage Arguments Value

View source: R/chordDiagramFromNet.r

Description

plot the chord diagram for the uncomtrade among different continent from a network

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
chordDiagramFromNet(
  GRAPH,
  dat = FALSE,
  weight_factor = 1,
  text_height = 4,
  text_cex = 1,
  axis_cex = 1,
  facing = "clockwise",
  text_seperate_factor = 40
)

Arguments

GRAPH

a tidygraph object

dat

Logical value, whether return the trade flow data or not

weight_factor,

the denominator to scale the trade volume

text_height

control the distance between the text and the circle

text_cex

the text cex for the labels

axis_cex

the font size for the axis

facing

the direction and arrangement for the text

Value

a plot


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