Skip to content
/ crane Public

❗ This is a read-only mirror of the CRAN R package repository. crane — Supplements the 'gtsummary' Package for Pharmaceutical Reporting. Homepage: https://github.com/insightsengineering/cranehttps://insightsengineering.github.io/crane/ Report bugs for this package: https://github.com/insightsengineering ...

Notifications You must be signed in to change notification settings

cran/crane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crane

Check 🛠 Docs 📚 Code Coverage 📔

CRAN Version Current Version

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")

Examples

The package exports a gtsummary theme for reporting at Roche. The theme sets function defaults to meet reporting requirements at Roche, making it simpler programmers to achieve the desired results without setting too many arguments.

The package also exports a wrapper for the gtsummary::tbl_summary() function with defaults more suited to reporting at Roche.

library(crane)
#> Loading required package: gtsummary
theme_gtsummary_roche()
#> Setting theme "Roche"

tbl <- trial |>
  tbl_roche_summary(by = trt, include = c(age, grade), nonmissing = "always")

The package also exports functions for Roche adverse event reporting, functions for shift tables, and others.

About

❗ This is a read-only mirror of the CRAN R package repository. crane — Supplements the 'gtsummary' Package for Pharmaceutical Reporting. Homepage: https://github.com/insightsengineering/cranehttps://insightsengineering.github.io/crane/ Report bugs for this package: https://github.com/insightsengineering ...

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages