theme_besthr: besthr ggplot2 theme

View source: R/themes.R

theme_besthrR Documentation

besthr ggplot2 theme

Description

A custom theme for besthr plots. The "classic" theme matches the original besthr appearance, while "modern" provides a cleaner, more contemporary look.

Usage

theme_besthr(style = "classic", base_size = 11, base_family = "")

Arguments

style

Character string specifying the theme style. Options are:

  • "classic" - Original besthr theme (theme_minimal)

  • "modern" - Clean, contemporary style with refined typography

base_size

Base font size (default 11)

base_family

Base font family

Value

A ggplot2 theme object

Examples

library(ggplot2)
ggplot(mtcars, aes(mpg, wt)) +
  geom_point() +
  theme_besthr("modern")


besthr documentation built on March 18, 2026, 5:08 p.m.