MyNixOS website logo
Description

Create Tables, Listings and Figures using Functions Styled after SAS™ Macros.

Mimic the style of traditional reporting macros for clinical trials. The purpose is to generate tables, listings and figures that support clinical research. This package is well suited for firms or individuals who wish to incorporate R without changing their ways of working as it follows a traditional clinical research workflow. Invoke functions (instead of macros) to summarize data and produce formatted reports. This package differs from others in that it includes tools (wrappers) for both analyzing and reporting data.

repfun

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

  • This package contains reporting functions that mimic (HARP) traditional reporting macros.
  • View the function documentation at: https://gsk-biostatistics.github.io/repfun/reference/index.html
  • Install the package using: Via CRAN: install.packages("repfun") library(remotes); install_github("GSK-Biostatistics/repfun") or install.packages('/your/path/repfun_0.1.2.tar.gz',repos=NULL,type='source') (see "misc" branch for latest tarball) or download the following zip file and install as above: https://github.com/GSK-Biostatistics/repfun/blob/misc/repfun_0.1.2.tar.gz
  • Use the package by loading it: library(repfun)
  • View use cases at: https://gsk-biostatistics.github.io/repfun/articles/
  • View package documentation at: https://github.com/GSK-Biostatistics/repfun/blob/misc/repfun_0.1.2.pdf

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


Metadata

Version

0.1.2

License

Unknown

Platforms (78)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows