su_theme: Creates the Strategy Unit Theme for ggplot

View source: R/su_theme.R

su_themeR Documentation

Creates the Strategy Unit Theme for ggplot

Description

Creates a base theme for ggplot objects. By default this uses a font that requires the extrafont package to be installed.

Usage

su_theme(base_family = "Segoe UI")

Arguments

base_family

The font to use in this theme

Examples

## Not run: 
library(ggplot2)
library(StrategyUnitTheme)
ggplot(iris, aes(Sepal.Width, Sepal.Length, colour = Species)) +
  geom_point() +
  su_theme()

## End(Not run)

The-Strategy-Unit/StrategyUnitTheme documentation built on July 8, 2023, 11:38 p.m.