make_long | R Documentation |
Prepares a 'wide' data frame into a format that 'geom_sankey' or 'geom_alluvial' understands. Useful to show flows between dimensions in dataset.
make_long(.df, ..., value = NULL)
.df |
a data frame |
... |
unquoted columnnames of df that you want to include in the plot. |
value |
if each row have a weight this weight could be kept by providing column name of weight. |
a longer data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.