theme_eventstudy: EventStudy ggplot2 Theme

View source: R/theme.R

theme_eventstudyR Documentation

EventStudy ggplot2 Theme

Description

A clean, publication-ready ggplot2 theme for EventStudy plots. Built on theme_minimal with a centred plot title, a bottom legend, and subtle gridlines styled to the EventStudy palette.

Usage

theme_eventstudy(base_size = 11, base_family = "")

Arguments

base_size

Base font size in points. Default is 11.

base_family

Base font family. Default "" uses the R device default, which works on all platforms without requiring installed fonts. Pass a family name (e.g. "Inter") if that font is installed on the target device.

Value

A theme object that composes with +.

See Also

es_colours, plot_event_study

Other eventstudy-plots: es_colours, plot_car_distribution(), plot_diagnostics(), plot_event_study(), plot_stocks()


EventStudy documentation built on Oct. 31, 2026, 1:07 a.m.