add_table_title: Add a title attribute to a table

View source: R/generate_modifiers.R

add_table_titleR Documentation

Add a title attribute to a table

Description

Add a title attribute to a table

Usage

add_table_title(data, title)

Arguments

data

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

title

The title text to be added.

Value

The input data frame with an added title attribute.

Examples

add_table_title(
  dplyr::starwars,
  title = "Star Wars Character Data"
)

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