/qtils

Utilities for working with R packages.

Primary LanguageROtherNOASSERTION

qtils: Utility package

R-CMD-check

Personal utility package. Functionality includes:

  • Generating tables from standardized models
    • ANCOVA for a primary treatment effect.
  • Generating common plots.
    • Observed longitudinal trajectories stratified by factors.
  • Precision-based sample size estimation for:
    • Change-from-baseline analysis incorporating log-transformations or unknown standard deviation of paired differences.
  • Simulation functions for:
    • Phase 1 studies where accelerated titration is used and there is need to simulate by AE grade (and not just DLT)

Installation

You can install the development version of qtils from GitHub with:

# install.packages("remotes")
remotes::install_github("qpmnguyen/qtils")

TODOs:

  • Write unit tests for the precision functions.
  • Parametric bootstrap for beta-binomial distribution.