my_ggtheme | R Documentation |
Function to put my favorite ggplot theme to any ggplot plot
my_ggtheme(x_percent = FALSE, y_percent = FALSE)
x_percent |
boolean, if TRUE we label the x axis into percents |
y_percent |
boolean, if TRUE we label the y axis with percents |
a ggplot with a new theme
ggplot2::ggplot(data.frame(a = c(1,2),b = c(3,4)), ggplot2::aes(a,b)) + my_ggtheme()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.