R/theme_forest.R

Defines functions theme_forest

Documented in theme_forest

#' Default forest theme
#'
#' @return a theme object for use with ggplot2
#' @export
theme_forest <- function() {
  theme_bw() +
    theme(
      panel.grid.major = element_blank(),
      panel.grid.minor = element_blank(),
      axis.title.y = element_blank(),
      axis.title.x = element_blank(),
      axis.text.y = element_blank(),
      axis.ticks.y = element_blank()
    )
}
NikNakk/forestmodel documentation built on March 22, 2022, 4:28 a.m.