50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


sfo (version 0.1.0)

sankey_ly: Sankey Plot with Plotly

Description

Sankey Plot with Plotly

Usage

sankey_ly(x, cat_cols, num_col, title = NULL)

Arguments

x

A data.frame input, must have at least two categorical columns and one numeric column

cat_cols

A vector of at least two categorical columns names

num_col

A single numeric column name

title

Optional, string to pass to plotly layout title function

Details

A customized function for data transformation and plotting sankey plot with Plotly