README.md

risyphus

Tools/utility functions to facilitate recurrent tasks with focus on logistic regression, Cox regression, and studies/clinical trials with two groups.

This package contains functions that facilitate laborious steps in most data analysis tasks, such as basic variable description, compilation of baseline tables comparing two groups, odds-ratio tables based on logistic regression, or hazard-ratio tables based on Cox proportional hazards models. The name of this package is derived from the Greek mythological figure Sisyphus (Sisyphus for R = risyphus), who was doomed to roll a big boulder up a hill just to see it roll down again ad infinitum. Somehow I related to the laborious task of keeping all standard tables up to date in a developing project as Sisyphean, and it all too often consumed too much time and energy devoted to a project.

My intention with this package is

  1. to do standard tasks well,
  2. to free time and resources for better statistical analyses, and
  3. to facilitate reproducible computing.

Download/Installation

This version of risyphus on GitHub can be installed from R after installing the remotes package (has superseeded this functionality previously provided by devtools).

install.packages("remotes") # Will install from CRAN.

# Install and build vignettes (tested on macOS Mojave and Windows 10):
remotes::install_github("FrThomas/risyphus", build = TRUE, build_vignettes = TRUE,
                        build_opts = c("--no-resave-data", "--no-manual"),
                        force = TRUE)

# Note: Install without building vignettes (faster, but then only the help-function is available, not the vignettes):
remotes::install_github(repo="FrThomas/risyphus") # Will install from GitHub.

Available Help and Vignettes

To have vignettes available, make sure you install risyphus in a way that vignettes are actually build (see above).

See which vignettes are available (after install):

vignette(package = "risyphus") # Gives list of available vignettes.
vignette("risyphus-Introduction", package = "risyphus") # Shows the vignette "Introduction to risyphus".

If you use RStudio (recommended!) all vignettes and help files are available in the "Files, Plots, Packages, Help, Viewer" pane, typically in the lower right corner of your R Studio window: Click on Packages, scroll down/up and click on risyphus to find your way around.

If you know the name of the function and would like to bring up the complete description, the standard approach in R works, e.g., help("BLtable") will bring up the help page for the function BLtable (make sure you have executed library("risyphus") earlier so R has loaded the associated information).

The vignette Introduction to risyphus [vignette("risyphus-Introduction", package = "risyphus")] contains a table with the core functions available after installing risyphus.

Current Goals

Recent Additions and Changes

TO DO

History

End of document



FrThomas/risyphus documentation built on Dec. 6, 2019, 6:27 a.m.