The goal of khsverse is to provide a simple way of loading a number of packages for epidemiology research.

Installation

The khsmisc package can be installed from GitHub. A CRAN submission is not planned.

# if "remotes" library is missing, install it first:
#   install.packages("remotes")
remotes::install_github("stopsack/khsverse")

Loaded Packages

When loading library(khsverse), the following dependencies will be made available:

  • Data handling: the whole universe of the tidyverse; variable labels via labelled; reading Excel files via readxl.
  • Tables: formatted tables via gt.
  • Figures: ggplot2; red/green blindness-proof color palettes via viridis; arranging figure panels via cowplot.
  • Analyses: time-to-event analyses using survival; accessing regression model results via broom; risk ratios and differences via risks.
  • Custom: extra functions from the khsmisc package.