theme_twin: Theme for plots

View source: R/plots.R

theme_twinR Documentation

Theme for plots

Description

This is the custom ggplot theme that we use for all the figures produced in twinR. The theme is built around theme_bw and is inspired by theme_few.

Usage

theme_twin(
  base_size = 11,
  base_family = "",
  base_line_size = base_size/22,
  base_rect_size = base_size/22,
  larger = 0
)

Arguments

base_size

base font size

base_family

base font family

base_line_size

base size for line elements

base_rect_size

base size for rect elements

larger

a scalar indicating by how much to increase text size compared to default (for SI figs)

Value

the theme


courtiol/twinR documentation built on July 11, 2024, 12:04 a.m.