custom_theme: Themes a ggplot object

View source: R/custom_theme.R

custom_themeR Documentation

Themes a ggplot object

Description

Themes a ggplot object

Usage

custom_theme()

Value

A themed ggplot object

Examples

# if(!require(dplyr)){library(dplyr)}
#if(!require(ggplot2)){library(ggplot2)}

mtcars <- dplyr::mutate(mtcars,am=as.factor(am))
ggplot_obj <-
     ggplot2::ggplot( mtcars) + 
     ggplot2::facet_wrap(~am)+
     ggplot2::labs(title = 'Graph Title')+
     ggplot2::geom_point(ggplot2::aes(disp,mpg,col=mpg))
     
ggplot_obj + custom_theme()


aarong1/RshinyHelpers documentation built on June 15, 2022, 4:52 a.m.