Skip to contents

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 +.