sankey_graph | R Documentation |
plot circle graph with communication profile
sankey_graph(
df,
axes,
mycol = NULL,
nudge_x = NULL,
font.size = 5,
boder.col = "black",
isGrandSon = FALSE,
set_alpha = 1
)
df |
a dataframe with five or four columns depending on the parameter isGrandSon |
axes |
if triple realtion of sankey, set axes=1:3, otherwise bi is 1:2. default 1:3 |
mycol |
a vector of character, denotes the color of each node |
nudge_x |
a vector of numeric, denotes the horizontal position of each node label |
font.size |
the font size of node label |
boder.col |
the color of node border |
isGrandSon |
If FALSE, the third axe inherits the first two axes and only consider about relation instead of score. otherwise every axe only inherit the first one axes ggtitle and consider about score. |
set_alpha |
set the alpha of color in the node, a numeric bwtween 0-1. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.