Transforms correspondence table into a format suitable for plotly sankey plot
1 | make_CT_sankeystyle(x, source = 1, target = 2, value = 3)
|
x |
a correspondence table in long format (data.table) |
source |
location (numeric) or name (character) of column of source classification |
target |
location (numeric) or name (character) of column of target classification |
value |
location (numeric) or name (character) of value column |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.