Skip to contents

Core Table Styling

Main functions for adding professional formatting to gtsummary tables

extras()
Add standard styling and formatting to gtsummary tables
clean_table()
Standardize missing value display across all gtsummary table types

Automatic Variable Labeling

Functions for managing variable labels from data dictionaries

add_auto_labels()
Add automatic labels from dictionary to a gtsummary table

Theme Functions

Apply JAMA-style compact themes for consistent professional formatting

use_jama_theme()
Apply JAMA Compact Theme to gtsummary Tables
theme_gt_compact()
Apply compact JAMA-style theme to gt tables

Group Header Styling

Enhanced formatting for variable group headers in summary tables

add_group_styling()
Apply styling to variable group headers in gtsummary tables
add_group_colors()
Add background colors to group headers with automatic gt conversion
get_group_rows()
Get row numbers of variable group headers for gt styling