theme_tpl: Customize a ggplot theme

Description Usage Details Value

View source: R/theme_tpl.R

Description

This function sets a custom theme in line with the TPL style guide for visualizations made with ggplot. This function does not have any pre-sets for a plot legend. It can be layered on to any ggplot visualization just like a built-in theme.

Usage

1

Details

If any trouble loading fonts, install and load the following package: install.packages("extrafont") library(extrafont)

Value

A layer to be added to a ggplot visualization that modifies non-data features


heidiwallace/TPLthemeR documentation built on Jan. 21, 2022, 9:21 p.m.