View source: R/network_analysis.R
join_weights_to_edge | R Documentation |
Assign value of edge as either var_fin/var_fout
join_weights_to_edge(edge_data, dat, node_col, edge_col, direction = "var_fin")
edge_data |
Tibble of source-target edges. |
dat |
Vedar data tibble in long format with var_fin, var_fout data |
node_col |
The column in dat to use for node information. |
edge_col |
The column in dat to use for edge information. |
direction |
String value of attribute either "var_fin" or "var_fout" |
Tibble with source-target pairs for each flow and the pv value of the specified direction
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.