theme_nottshc: NOTTSHC CDU data science team ggplot2 theme

View source: R/theme.R

theme_nottshcR Documentation

NOTTSHC CDU data science team ggplot2 theme

Description

A ggplot2 theme with a white panel background, no grid lines, large axis and legend titles, and increased text padding for better readability.

Usage

theme_nottshc(base_size = 12, base_family = "", box = FALSE)

Arguments

base_size

Numeric. Base font size; other font sizes and margins are adjusted relative to this.

base_family

Character. Base font family.

box

Logical. Indicates whether to draw a box around the plot.

Details

Some of this theme is borrowed with thanks from https://github.com/crsh/papaja, see https://github.com/crsh/papaja/blob/master/R/theme_apa.R.


CDU-data-science-team/nottshcMethods documentation built on March 19, 2023, 11:54 a.m.