Learn R Programming

tsg (version 0.1.1)

add_table_title: Add a title attribute to a table

Description

Add a title attribute to a table

Usage

add_table_title(data, title)

Value

The input data frame with an added title attribute.

Arguments

data

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

title

The title text to be added.

Examples

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

Run the code above in your browser using DataLab