my_ggtheme: my_ggtheme

View source: R/my_ggtheme.R

my_ggthemeR Documentation

my_ggtheme

Description

Function to put my favorite ggplot theme to any ggplot plot

Usage

my_ggtheme(x_percent = FALSE, y_percent = FALSE)

Arguments

x_percent

boolean, if TRUE we label the x axis into percents

y_percent

boolean, if TRUE we label the y axis with percents

Value

a ggplot with a new theme

Examples

ggplot2::ggplot(data.frame(a = c(1,2),b = c(3,4)), ggplot2::aes(a,b)) + my_ggtheme()

bronnimannj/jbutilities documentation built on July 2, 2023, 4:09 p.m.