le_theme | R Documentation |
Sets chart borders, font, title size and positioning for html publications
le_theme(scale = 0.8, flip = 0, rm_x_leg = FALSE, rm_y_leg = FALSE)
scale |
Size of legend text and title. Plot title is text size * 1 |
flip |
Binary to flip margins |
rm_x_leg |
logical value indicating whether x label be removed from chart |
rm_y_leg |
logical value indicating whether y label be removed from chart |
library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) +
geom_point() +
le_theme()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.