R/init.R

Defines functions .onAttach

#' @importFrom clinUtils clinColors clinShapes clinLinetypes
.onAttach <- function(libname, pkgname) {
  
  # options for tables in presentation mode
  options(inTextSummaryTable.pageDim.presentation = pageDimPresentation)
  options(inTextSummaryTable.colors.table.presentation = tableColorsPresentation)
  
  # palettes for plots
  options(inTextSummaryTable.colors.plot = clinUtils::clinColors)
  options(inTextSummaryTable.shapes.plot = clinUtils::clinShapes)
  options(inTextSummaryTable.linetypes.plot = clinUtils::clinLinetypes)
  
}

Try the inTextSummaryTable package in your browser

Any scripts or data that you put into this service are public.

inTextSummaryTable documentation built on Sept. 12, 2023, 5:06 p.m.