Description
Create Common Tables and Listings Used in Clinical Trials.
Description
Structure and formatting requirements for clinical trial table and listing outputs vary between pharmaceutical companies. 'junco' provides additional tooling for use alongside the 'rtables', 'rlistings' and 'tern' packages when creating table and listing outputs. While motivated by the specifics of Johnson and Johnson Clinical and Statistical Programming's table and listing shells, 'junco' provides functionality that is general and reusable. Major features include a) alternative and extended statistical analyses beyond what 'tern' supports for use in standard safety and efficacy tables, b) a robust production-grade Rich Text Format (RTF) exporter for both tables and listings, c) structural support for spanning column headers and risk difference columns in tables, and d) robust font-aware automatic column width algorithms for both listings and tables.
README.md
junco
Overview
The junco R package contains analysis functions to create tables and listings used for clinical trial reporting. It complements the tern package by providing additional statistical analysis capabilities.
The package provides a range of functionality, such as:
- Statistical analysis (ANCOVA, MMRM, Cox regression, Kaplan-Meier)
- Calculation of odds ratios, relative risks, and proportion differences
- Event incidence rate analysis
- Frequency tabulations and summarizations
- Reference-based multiple imputation (RBMI) for handling missing data
- Production-ready RTF exporter for listings and tables (see tt_to_tbldf)
- Creation of tables, listings, and graphs (TLGs)
Installation
You can install the development version of junco from GitHub with:
# install.packages("remotes")
remotes::install_github("johnsonandjohnson/junco")
Usage
To understand how to use this package, please refer to the junco article, which provides multiple examples of code implementation.
See package vignettes browseVignettes(package = "junco")
for usage of this package.