flowchart
is an R package for drawing participant flow diagrams directly from a dataframe using tidyverse. It provides a set of functions that can be combined with a pipe operator to create all kinds of flowcharts from a dataframe in an easy way.
You can see the package in action in: https://bruigtp.github.io/flowchart/
How to install it?The package is available on CRAN: https://cran.r-project.org/web/packages/flowchart/index.html.
install.packages("flowchart")
We can download the development version from the github repository:
# install.packages("remotes")
remotes::install_github('bruigtp/flowchart')
How it works?
The following GIF provides an example of the tidy process of drawing a flowchart for a clinical trial:
AboutPackage: flowchart
Type: Package
Version: 0.8.0 (CRAN)
Authors: Pau Satorra, João Carmezim, Natà lia Pallarès, Cristian Tebé, Kenneth A. Taylor.
Maintainer: Pau Satorra
License: GPL (>= 3)
Encoding: UTF-8
Depends: R (>= 4.1.0)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4