The tern
R package contains analysis functions to create tables and graphs used for clinical trial reporting.
The package provides a large range of functionality, such as:
Data visualizations:
g_lineplot
)g_km
)g_forest
)g_step
)g_ipp
)g_waterfall
)g_bland_altman
)Statistical model fit summaries:
summarize_logistic
)summarize_coxreg
)Analysis tables:
Many of these outputs are available to be added into teal
shiny applications for interactive exploration of data. These teal
modules are available in the teal.modules.clinical
package.
See the TLG Catalog for an extensive catalog of example clinical trial tables, listings, and graphs created using tern
functionality.
tern
is available on CRAN and you can install the latest released version with:
install.packages("tern")
or you can install the latest development version directly from GitHub by running the following:
# install.packages("pak")
pak::pak("insightsengineering/tern")
To understand how to use this package, please refer to the Introduction to tern
article, which provides multiple examples of code implementation.
See package vignettes browseVignettes(package = "tern")
for usage of this package.
rtables
- table engine usedtlg-catalog
- website showcasing many examples of clinical trial tables, listings, and graphsteal.modules.clinical
- teal
modules for interactive data analysisThis package is the result of the joint efforts by many developers and stakeholders. We would like to thank everyone who has contributed so far!