View source: R/minimize_crossing_alluvial.R
minimize_crossing_alluvial | R Documentation |
This function transform the node_id into a factor ordered by a newly created column named "minimize_crossing_order".
minimize_crossing_alluvial( alluv_dt, intertemporal_cluster_column = NULL, node_id = NULL, window_column = "window" )
alluv_dt |
Data.frame of the alluvial created using the networkflow::networks_to_alluv function |
intertemporal_cluster_column |
The column with the identifier of the inter-temporal cluster. If you have used
add_clusters() and merge_dynamic_clusters(),
it is of the form |
node_id |
The column with the unique identifier of each node. This is the alluvium of the alluvial. |
window_column |
The column with your time windows. @examples |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.