View source: R/plot_alluvial.R
plot_alluvial | R Documentation |
An easy way to plot the alluvial by using the columns created by the different function of networkflow.
plot_alluvial( alluv_dt, intertemporal_cluster_column, node_id, window_column = "window", color_column = "color", color_alluvial = FALSE, color = NULL, minimize_crossing = FALSE, prepare_label = FALSE, cluster_label_column = "cluster_label", print_plot_code = FALSE )
alluv_dt |
A data.frame of an alluvial created with networks_to_alluv(). |
intertemporal_cluster_column |
The column with the identifier of inter-temporal clusters. 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. |
window_column |
The column of the alluvial with your time window. By default, "window", as created by networks_to_alluv(). |
color_column |
The column with the colors associated to the categories of |
color_alluvial |
If no color has been set for the categories of |
color |
If |
minimize_crossing |
If |
prepare_label |
If |
cluster_label_column |
If |
print_plot_code |
Set to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.