Learn R Programming

crane

The {crane} package provides supplementary functions to the {gtsummary} specifically for trial reporting in the pharmaceutical industry.

Installation

You can install {crane} with the following code.

install.packages("crane")

Install the development version with pak::pak("insightsengineering/crane")

Example

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

library(crane)
theme_gtsummary_roche()
#> Setting theme "Roche"

tbl <- gtsummary::trial |>
  tbl_demographics(by = trt, include = c(age, grade)) |>
  add_blank_row()

Copy Link

Version

Install

install.packages('crane')

Monthly Downloads

260

Version

0.1.0

License

Apache License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Daniel D. Sjoberg

Last Published

February 24th, 2025

Functions in crane (0.1.0)

reexports

Objects exported from other packages
theme_gtsummary_roche

Roche Theme
add_blank_row

Add Blank Row
tbl_demographics

Demographics Table
roche_pvalue

Round p-values
crane-package

crane: Supplements the 'gtsummary' Package for Pharmaceutical Reporting