The goal of {ggconsort} is to make it easy to create CONSORT diagrams for the transparent reporting of participant allocation in randomized, controlled clinical trials. This is done by creating a standardized status table, and using this table as the source for the creation of a custom ggplot that creates a standard CONSORT diagram.

Installation

You can install the current version of ggconsort from github with:

library(remotes)
remotes::install_github("higgi13425/ggconsort")

Someday (not any day soon), one might be able to install the released version of ggconsort from CRAN with:

install.packages("ggconsort")

Example

This is a basic example which shows you how to solve a common problem:

library(ggconsort)
## basic example code