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, for example:
- data visualizations:
- forest plots
- line plots
- Kaplan-Meier plots
- …
- statistical model fits:
- logistic regression
- Cox regression
- …
- summary tables:
- unique patients
- exposure across patients
- change from baseline for parameters
- …
Many of these outputs are available to be added into teal
applications for interactive exploration of data. These teal
modules are available in the teal.modules.clinical
package.
Installation
It is recommended that you create and use a Github PAT to install the latest version of this package. Once you have the PAT, run the following:
Sys.setenv(GITHUB_PAT = "your_access_token_here")
if (!require("remotes")) install.packages("remotes")
remotes::install_github("insightsengineering/tern@*release")
A stable release of all NEST
packages from October 2022 is also available here.
See package vignettes browseVignettes(package = "tern")
for usage of this package.
Related
-
rtables
- table engine used - TLG Catalog - examples for clinical trials tables and graphs
-
teal.modules.clinical
-teal
modules for interactive data analysis