makeSankey: Make a Sankey Plot

Description Usage Arguments Details

View source: R/makeSankey.R

Description

This functions takes in a data frame and makes a Sankey Plot It assumes that the first column contains risk factors and following columns are each numerical values for each factor for that year

Usage

1
makeSankey(d, white.horizontal = F, white.vertical = F, title = NA)

Arguments

d

data fram

white.horizontal

defaults to F

white.vertical

defaults to F

title

defaults to NA which uses d[1,1] as title

Details

This function can handle any number of years and/or risk factors The presense of horizontal and vertical gaps can be adjusted


nys5/SankeyPlot documentation built on Dec. 16, 2019, 12:44 a.m.