Description Usage Arguments Value
Merge edges and values into one data.table
1 | merge_edge_values(edges, values)
|
edges |
[matrix, data.frame, or data.table] Two columns of characters giving parents and children for each edge in the tree. |
values |
[data.frame or data.table] An object mapping unique units / times / groups to their values. It must have a column "unit" giving the node id, and optionally accepts columns "time" or "group" for timeboxes or DOI sankeys. |
merged_values [data.table] A data.table mapping each edge to the value for the associated child node.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.