Skip to contents

License Lifecycle: experimental CRAN status R-CMD-check Codecov test coverage

R Reporting Functions Repository

This repository contains an R package of reporting functions that mimic (HARP) traditional macros for clinical reporting. The package can be used to generate Tables, Listings and Figures. See several examples in the Vignettes/Articles.

(back to top)


How to Use This Package

  1. Download and install the package from CRAN (see below), or using the zip file repfun_0.1.2.tar.gz (in “misc” branch), or via library remotes (see below).
  2. Load the library in an R session.
  3. Review the function documentation under References
    (https://gsk-biostatistics.github.io/repfun/reference/index.html).
  4. Identify a use case that fits your needs from the Articles
    (https://gsk-biostatistics.github.io/repfun/articles/index.html).
  5. Copy and modify the Vignette code for your study.

(back to top)


General Information

(back to top)


Built With

  • R
  • RStudio
  • PowerShell
  • Windows Terminal
  • Google Chrome
  • GitHub

(back to top)


Getting Started

Prerequisites

# Before using repfun, install the following R packages:
install.packages(c("tidyr","dplyr","ggplot2","magrittr","Hmisc","haven","stringr","admiral","lubridate","r2rtf")) 

License

This project is released under the Apache-2.0 license.

(back to top)


Contact

For any questions or comments about this project, please contact Yongwei Wang or Chris Rook.

(back to top)


Acknowledgments

Acknowledgement to the following useful sources:

(back to top)