Sankey
Draw a sankey diagram.
e_sankey( e, source, target, value, layout = "none", rm_x = TRUE, rm_y = TRUE, ... ) e_sankey_( e, source, target, value, layout = "none", rm_x = TRUE, rm_y = TRUE, ... )
e |
An |
source, target |
Source and target columns. |
value |
Value change from |
layout |
Layout of sankey. |
rm_x, rm_y |
Whether to remove the x and y axis, defaults to |
... |
Any other option to pass, check See Also section. |
sankey <- data.frame( source = c("a", "b", "c", "d", "c"), target = c("b", "c", "d", "e", "e"), value = ceiling(rnorm(5, 10, 1)), stringsAsFactors = FALSE ) sankey %>% e_charts() %>% e_sankey(source, target, value)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.