Sankey bar graphs in R

心已入冬 提交于 2019-12-23 01:36:10

问题


I'd like to make this type of plot in R.

There's more detail on the SAS macros to produce this example here: http://www.pharmasug.org/proceedings/2015/DV/PharmaSUG-2015-DV07.pdf

Does anyone have any thoughts on how I should go about doing this in R?

NOTE: I know how to make standard sankey diagrams with the D3 or google libraries. This question is specifically about the combination of bar graph and sankey diagram that the SAS macros produce.


回答1:


Use the library(flipPlots), using the SankeyDiagram() function.



来源:https://stackoverflow.com/questions/41644829/sankey-bar-graphs-in-r

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!