R: Presentation-Ready Data Summary and Analytic Result Tables

# Presentation-Ready Data Summary and Analytic Result Tables

## Documentation for package ‘gtsummary’ version 2.5.1

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

A B C F G I L M P R S T W

## -- A --

add_ci | Add CI Column
add_ci.tbl_summary | Add CI Column
add_ci.tbl_svysummary | Add CI Column
add_difference.tbl_summary | Add differences between groups
add_difference.tbl_svysummary | Add differences between groups
add_difference_row.tbl_summary | Add differences rows between groups
add_glance | Add model statistics
add_glance_source_note | Add model statistics
add_glance_table | Add model statistics
add_global_p | Add the global p-values
add_global_p.tbl_regression | Add the global p-values
add_global_p.tbl_uvregression | Add the global p-values
add_n.tbl_likert | Add column with N
add_n.tbl_regression | Add N to regression table
add_n.tbl_summary | Add column with N
add_n.tbl_survfit | Add N
add_n.tbl_svysummary | Add column with N
add_n.tbl_uvregression | Add N to regression table
add_nevent | Add event N
add_nevent.tbl_regression | Add event N
add_nevent.tbl_survfit | Add event N
add_nevent.tbl_uvregression | Add event N
add_nevent_regression | Add event N
add_n_regression | Add N to regression table
add_n_summary | Add column with N
add_overall | Add overall column
add_overall.tbl_ard_summary | ARD add overall column
add_overall.tbl_continuous | Add overall column
add_overall.tbl_custom_summary | Add overall column
add_overall.tbl_hierarchical | Add overall column
add_overall.tbl_hierarchical_count | Add overall column
add_overall.tbl_summary | Add overall column
add_overall.tbl_svysummary | Add overall column
add_overall_ard | ARD add overall column
add_p.tbl_continuous | Add p-values
add_p.tbl_cross | Add p-value
add_p.tbl_summary | Add p-values
add_p.tbl_survfit | Add p-value
add_p.tbl_svysummary | Add p-values
add_q | Add multiple comparison adjustment
add_significance_stars | Add significance stars
add_stat | Add a custom statistic
add_stat_label | Add statistic labels
add_stat_label.tbl_ard_summary | Add statistic labels
add_stat_label.tbl_summary | Add statistic labels
add_stat_label.tbl_svysummary | Add statistic labels
add_variable_group_header | Variable Group Header
add_vif | Add Variance Inflation Factor
all_categorical | Select helper functions
all_continuous | Select helper functions
all_continuous2 | Select helper functions
all_contrasts | Select helper functions
all_dichotomous | Select helper functions
all_interaction | Select helper functions
all_intercepts | Select helper functions
all_stat_cols | Select helper functions
all_tests | Select helper functions
as.data.frame.gtsummary | Convert gtsummary object to a tibble
assign_summary_digits | Assign Default Digits
assign_summary_type | Assign Default Summary Type
assign_tests | Assign Test
assign_tests.tbl_continuous | Assign Test
assign_tests.tbl_summary | Assign Test
assign_tests.tbl_survfit | Assign Test
assign_tests.tbl_svysummary | Assign Test
as_flex_table | Convert gtsummary object to a flextable object
as_gt | Convert gtsummary object to gt
as_gtsummary | Create gtsummary table
as_hux_table | Convert gtsummary object to a huxtable object
as_hux_xlsx | Convert gtsummary object to a huxtable object
as_kable | Convert gtsummary object to a kable object
as_kable_extra | Convert gtsummary object to a kableExtra object
as_tibble.gtsummary | Convert gtsummary object to a tibble

## -- B --

bold_italicize_labels_levels | Bold or Italicize
bold_labels | Bold or Italicize
bold_labels.gtsummary | Bold or Italicize
bold_labels.tbl_cross | Bold or Italicize
bold_levels | Bold or Italicize
bold_levels.gtsummary | Bold or Italicize
bold_levels.tbl_cross | Bold or Italicize
bold_p | Bold significant p-values
brdg_continuous | Continuous Summary Table Bridges
brdg_hierarchical | Hierarchy table bridge
brdg_summary | Summary table bridge
brdg_wide_summary | Wide summary table bridge

## -- C --

check_gtsummary_theme | Set gtsummary theme
combine_terms | Combine terms
custom_tidiers | Custom tidiers

## -- F --

filter_hierarchical | Filter Hierarchical Tables
filter_hierarchical.tbl_ard_hierarchical | Filter Hierarchical Tables
filter_hierarchical.tbl_hierarchical | Filter Hierarchical Tables
filter_hierarchical.tbl_hierarchical_count | Filter Hierarchical Tables
filter_p | Sort/filter by p-values

## -- G --

gather_ard | Extract ARDs
get_gtsummary_theme | Set gtsummary theme

## -- I --

inline_text.gtsummary | Report statistics from summary tables inline
inline_text.tbl_continuous | Report statistics from summary tables inline
inline_text.tbl_cross | Report statistics from cross table inline
inline_text.tbl_regression | Report statistics from regression summary tables inline
inline_text.tbl_summary | Report statistics from summary tables inline
inline_text.tbl_survfit | Report statistics from survfit tables inline
inline_text.tbl_svysummary | Report statistics from summary tables inline
inline_text.tbl_uvregression | Report statistics from regression summary tables inline
italicize_labels | Bold or Italicize
italicize_labels.gtsummary | Bold or Italicize
italicize_labels.tbl_cross | Bold or Italicize
italicize_levels | Bold or Italicize
italicize_levels.gtsummary | Bold or Italicize
italicize_levels.tbl_cross | Bold or Italicize

## -- L --

label_style | Style Functions
label_style_number | Style Functions
label_style_percent | Style Functions
label_style_pvalue | Style Functions
label_style_ratio | Style Functions
label_style_sigfig | Style Functions

## -- M --

modify | Modify column headers and spanning headers
modify_abbreviation | Modify Abbreviations
modify_bold | Modify Bold and Italic
modify_bold_italic | Modify Bold and Italic
modify_caption | Modify table caption
modify_column_alignment | Modify column alignment
modify_column_hide | Modify hidden columns
modify_column_merge | Modify Column Merging
modify_column_unhide | Modify hidden columns
modify_fmt_fun | Modify formatting functions
modify_footnote2 | Modify Footnotes
modify_footnote_body | Modify Footnotes
modify_footnote_header | Modify Footnotes
modify_footnote_spanning_header | Modify Footnotes
modify_header | Modify column headers and spanning headers
modify_indent | Modify column indentation
modify_italic | Modify Bold and Italic
modify_missing_symbol | Modify Missing Substitution
modify_post_fmt_fun | Modify post formatting
modify_source_note | Modify source note
modify_spanning_header | Modify column headers and spanning headers
modify_table_body | Modify Table Body

## -- P --

pier_summary_categorical | Summary table bridge
pier_summary_continuous | Summary table bridge
pier_summary_continuous2 | Summary table bridge
pier_summary_dichotomous | Summary table bridge
pier_summary_hierarchical | Hierarchy table bridge
pier_summary_missing_row | Summary table bridge
plot | Plot Regression Coefficients
plot.tbl_regression | Plot Regression Coefficients
plot.tbl_uvregression | Plot Regression Coefficients
pool_and_tidy_mice | Custom tidiers
print.tbl_split | Split gtsummary table by rows and/or columns
proportion_summary | Summarize a proportion

## -- R --

ratio_summary | Summarize the ratio of two variables
remove_abbreviation | Modify Abbreviations
remove_bold | Modify Bold and Italic
remove_column_merge | Modify Column Merging
remove_footnote_body | Modify Footnotes
remove_footnote_header | Modify Footnotes
remove_footnote_spanning_header | Modify Footnotes
remove_italic | Modify Bold and Italic
remove_row_type | Remove rows
remove_source_note | Modify source note
remove_spanning_header | Modify column headers and spanning headers
reset_gtsummary_theme | Set gtsummary theme

## -- S --

select_helpers | Select helper functions
separate_p_footnotes | Create footnotes for individual p-values
set_gtsummary_theme | Set gtsummary theme
show_header_names | Modify column headers and spanning headers
sort_filter_p | Sort/filter by p-values
sort_hierarchical | Sort Hierarchical Tables
sort_hierarchical.tbl_ard_hierarchical | Sort Hierarchical Tables
sort_hierarchical.tbl_hierarchical | Sort Hierarchical Tables
sort_hierarchical.tbl_hierarchical_count | Sort Hierarchical Tables
sort_p | Sort/filter by p-values
style_number | Style numbers
style_percent | Style percentages
style_pvalue | Style p-values
style_ratio | Style ratios
style_sigfig | Style significant figure-like rounding

## -- T --

tbl_ard_continuous | Summarize continuous variable
tbl_ard_hierarchical | ARD Hierarchical Table
tbl_ard_strata | Stratified gtsummary tables from ARD
tbl_ard_strata2 | Stratified gtsummary tables from ARD
tbl_ard_summary | ARD summary table
tbl_ard_wide_summary | Wide ARD summary table
tbl_butcher | Butcher table
tbl_continuous | Summarize continuous variable
tbl_cross | Cross table
tbl_custom_summary | Create a table of summary statistics using a custom summary function
tbl_hierarchical | Hierarchical Table
tbl_hierarchical_count | Hierarchical Table
tbl_likert | Likert Summary
tbl_merge | Merge tables
tbl_regression | Regression model summary
tbl_regression.default | Regression model summary
tbl_split_by | Split gtsummary table by rows and/or columns
tbl_split_by_columns | Split gtsummary table by rows and/or columns
tbl_split_by_rows | Split gtsummary table by rows and/or columns
tbl_stack | Stack tables
tbl_strata | Stratified gtsummary tables
tbl_strata2 | Stratified gtsummary tables
tbl_strata_nested_stack | Stratified Nested Stacking
tbl_summary | Summary table
tbl_survfit | Survival table
tbl_survfit.data.frame | Survival table
tbl_survfit.list | Survival table
tbl_survfit.survfit | Survival table
tbl_svysummary | Create a table of summary statistics from a survey object
tbl_uvregression | Univariable regression model summary
tbl_uvregression.data.frame | Univariable regression model summary
tbl_uvregression.survey.design | Univariable regression model summary
tbl_wide_summary | Wide summary table
theme_gtsummary | Available gtsummary themes
theme_gtsummary_compact | Available gtsummary themes
theme_gtsummary_continuous2 | Available gtsummary themes
theme_gtsummary_eda | Available gtsummary themes
theme_gtsummary_journal | Available gtsummary themes
theme_gtsummary_language | Available gtsummary themes
theme_gtsummary_mean_sd | Available gtsummary themes
theme_gtsummary_printer | Available gtsummary themes
tidy_bootstrap | Custom tidiers
tidy_gam | Custom tidiers
tidy_robust | Custom tidiers
tidy_standardize | Custom tidiers
tidy_wald_test | Custom tidiers
trial | Results from a simulated study of two chemotherapy agents

## -- W --

with_gtsummary_theme | Set gtsummary theme