R/themes.R

Defines functions theme_figure theme_poster theme_presentation my_theme

Documented in my_theme theme_figure theme_poster theme_presentation

#' my_theme
#' @return my_theme with modifications of my preferences
#' @export

my_theme <- function(...) {
  theme_classic(
    strip.background = element_blank(), 
    panel.background = element_blank(), 
    plot.background = element_blank(), 
    ...
  )
}

#' theme_presentation
#' 
#' @return my_theme with size modifications for presentations
#' 
#' @export

theme_presentation <- function() {
  my_theme(
    
  )
}

#' theme_poster
#' 
#' @return my_theme with size modifications for poster
#' 
#' @export

theme_poster <- function() {
  my_theme(
    size = 24
  )
}

#' theme_figure
#' 
#' @return my_theme with size modifications for figures
#' 
#' @export

theme_figure <- function() {
  my_theme(
    
  )
}
amyh25/RFunctions documentation built on Aug. 26, 2023, 4:33 p.m.