Skip to contents

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.