add_title_caption: Add a Title, Subtitle, and/or Caption to a Plot

View source: R/plot.R

add_title_captionR Documentation

Add a Title, Subtitle, and/or Caption to a Plot

Description

add_title_caption() adds a title, subtitle, and/or caption with standardized settings to a ggplot object.

Usage

add_title_caption(gg_obj, title = NULL, subtitle = NULL, caption = NULL)

Arguments

gg_obj

A ggplot object

title

The title of the plot

subtitle

The subtitle of the plot

caption

The caption of the plot

Value

The modified ggplot object


jesse-smith/coviData documentation built on Jan. 14, 2023, 11:08 a.m.