R/my_theme.R

Defines functions my_theme

Documented in my_theme

#' my_theme
#'
#' ggplot theme
#'
#' @return theme
#' @export
#' @import ggplot2
#'
#' @examples
#' my_theme()
my_theme <- function() {
  theme(axis.text.x = element_text(angle=45, hjust=1, vjust=1),
        plot.title = element_text(hjust = 0.5),
        panel.background = element_rect(fill="white",
                                        color="black"))
}
thierrycnam/igfuns documentation built on May 4, 2020, 3:21 a.m.