R/theme_textbook.R

Defines functions theme_textbook

Documented in theme_textbook

#' theme_textbook
#'
#' theme_bw() + no grid + no box + no background
#' @param ... argument pass to theme_bw()
#' @return a gg theme
#' @export
#'
theme_textbook = function(...){

  theme_bw(...) + theme_bw() +
    theme(axis.line = element_line(colour = "black"),
          #panel.grid.major = element_blank(),
          #panel.grid.minor = element_blank()
          panel.border = element_blank(),
          panel.background = element_blank()
          )
}
itsaquestion/MxPlot documentation built on Nov. 4, 2019, 2:13 p.m.