Description Usage Arguments Details
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
1 | makeSankey(d, white.horizontal = F, white.vertical = F, title = NA)
|
d |
data fram |
white.horizontal |
defaults to F |
white.vertical |
defaults to F |
title |
defaults to NA which uses d[1,1] as title |
This function can handle any number of years and/or risk factors The presense of horizontal and vertical gaps can be adjusted
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.