
flowchart: An R Package for Data Flowchart Generation
Abstract
flowchart is an R package that facilitates the creation of study participant attrition flowcharts. In health research, a flowchart is the gold standard way to show the flow of participants in a study when reporting results. There are several packages in R for drawing flowcharts using different approaches, but in general the programming for these packages is complex and requires numbers to be entered manually or parameterized beforehand. The flowchart package provides a different approach by allowing users to easily and reproducibly create flowcharts directly from the study data. The package is publicly accessible on CRAN and GitHub and provides functions that can be combined with a pipe operator to create the desired flowchart design.
© 2026 Pau Satorra, João Carmezim, Natàlia Pallarès, Kenneth A. Taylor, Cristian Tebé, published by Ubiquity Press
This work is licensed under the Creative Commons Attribution 4.0 License.