Process flow diagrams are powerful tools for process analysis, and having created a way to produce them in R is one among the greatest credits to be given to Rich Iannone and his DiagrammeR
package.
Generally speaking, this package leverages HTML widgets to let you build an R diagram of nearly every kind.
Even if more advanced and customizable tools are available as standalone software, DiagrammeR lets you easily integrate different parts of your analysis without leaving R.
Moreover, DiagrammeR is perfectly integrated in RStudio and the Shiny framework, which is one among the hottest tools in R community.
As usual, we first have to install and load the necessary package, that is to say the DiagrammeR
package:
install.packages("DiagrammeR") library(DiagrammeR)
We are now ready to create a data frame that stores nodes and hedges of our process workflow.
Particularly, we will build an example from the healthcare...