le_theme: Define the theme of Layman Economics blog

View source: R/le_theme.R

le_themeR Documentation

Define the theme of Layman Economics blog

Description

Sets chart borders, font, title size and positioning for html publications

Usage

le_theme(scale = 0.8, flip = 0, rm_x_leg = FALSE, rm_y_leg = FALSE)

Arguments

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

Examples

library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) +
  geom_point() +
  le_theme()

miguelayalar/leplot documentation built on June 14, 2025, 2:44 a.m.