sankey_ly: Creating A Sankey Diagram From Group by Object

Description Usage Arguments Value

View source: R/unicorn_cool_functions.R

Description

Creating A Sankey Diagram From Group by Object

Usage

1
sankey_ly(x, cols, num_col, rcolorbrewer_name = "Set2")

Arguments

x

A group_by object with both categorical variable and at least one numeric variable

cols

A string, defines the categorical variables to use

num_col

A string, define a the numeric variable to use for the sankey diagram

rcolorbrewer_name

A RcolorBrewer palette

Value

A plotly object


RamiKrispin/pinkUnicorn documentation built on Oct. 30, 2019, 10:51 p.m.