Learn R Programming

SportMiner (version 0.1.0)

theme_sportminer: SportMiner Custom ggplot2 Theme

Description

A clean, professional, and colorblind-friendly ggplot2 theme designed for academic publications and presentations in sport science.

Usage

theme_sportminer(base_size = 11, base_family = "", grid = TRUE)

Value

A ggplot2 theme object.

Arguments

base_size

Base font size in points. Default is 11.

base_family

Base font family. Default is "".

grid

Logical indicating whether to display grid lines. Default is TRUE.

Examples

Run this code
library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) +
  geom_point() +
  theme_sportminer()

Run the code above in your browser using DataLab