Learn R Programming

tsg (version 0.1.1)

add_table_subtitle: Add a subtitle attribute to a table

Description

Add a subtitle attribute to a table

Usage

add_table_subtitle(data, subtitle)

Value

The input data frame with an added subtitle attribute.

Arguments

data

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

subtitle

The subtitle text to be added.

Examples

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

Run the code above in your browser using DataLab