knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) knitr::opts_chunk$set(fig.width = 7, fig.height = 4)
library(plotSankey)
#Some example graphs makeSankey(risk1,F,T) makeSankey(risk2,T,F) makeSankey(risk2,F,F) makeSankey(risk3,F,T,"Risk Factors (with added data)") makeSankey(risk4,T,F,"Risk Factors (with added data)") makeSankey(risk5,T,T,"Risk Factors (with added data)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.