Skip to content

Table, Listings, and Graphs (TLG) library for common outputs used in clinical trials

License

Notifications You must be signed in to change notification settings

gro-123/tern

Repository files navigation

tern

Check 🛠 Docs 📚 Release 🎈

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("devtools")) install.packages("devtools")
devtools::install_github("insightsengineering/tern@*release", dependencies = FALSE)

You might need to manually install all of the package dependencies before installing this package as without the dependencies = FALSE argument to install_github it may produce an error.

In order to run many of the examples you will also need to install the scda package.

See package vignettes browseVignettes(package = "tern") for usage of this package.

Acknowledgment

This package is a result of a joint efforts by many developers and stakeholders. We would like to thank everyone who contributed so far!

About

Table, Listings, and Graphs (TLG) library for common outputs used in clinical trials

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 99.8%
  • TeX 0.2%