theme_opmi: OPMI Theme

View source: R/theme.R

theme_opmiR Documentation

OPMI Theme

Description

Provides a ggplot2 theme that is consistent with the OPMI MS Office theme.

Usage

theme_opmi(base_size = 12, base_font = "Open Sans", base_family = "opensans")

Arguments

base_size

Numeric font size

base_font

Name of font to use (only need to specify if you would like a font that is not included in base R and not included in the OPMI theme)

base_family

Name of font family to use (only need to specify if you would like a font that is not included in base R and not included in the OPMI theme). For a base R font, use "sans", "serif", or "mono".

Value

A theme that can be used in ggplots.


kmeakinmbta/opmitools documentation built on Oct. 25, 2023, 10:34 a.m.