add_table_subtitle: Add a subtitle attribute to a table

View source: R/generate_modifiers.R

add_table_subtitleR Documentation

Add a subtitle attribute to a table

Description

Add a subtitle attribute to a table

Usage

add_table_subtitle(data, subtitle)

Arguments

data

A data frame, tibble, or tsg object to which a subtitle attribute will be added.

subtitle

The subtitle text to be added.

Value

The input data frame with an added subtitle attribute.

Examples

add_table_subtitle(
  dplyr::starwars,
  subtitle = "Star Wars Character Data"
)


tsg documentation built on Feb. 22, 2026, 5:08 p.m.