gtsummary2.0.4 package

Presentation-Ready Data Summary and Analytic Result Tables

add_ci

Add CI Column

add_ci.tbl_svysummary

Add CI Column

add_difference

Add differences

add_difference.tbl_summary

Add differences between groups

add_difference.tbl_svysummary

Add differences between groups

add_glance

Add model statistics

add_global_p

Add the global p-values

add_n_regression

Add N to regression table

add_n_summary

Add column with N

add_n

Add column with N

add_n.tbl_survfit

Add N

add_nevent_regression

Add event N

add_nevent.tbl_survfit

Add event N

add_overall_ard

ARD add overall column

add_overall

Add overall column

add_p

Add p-values

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_label

Add statistic labels

add_stat

Add a custom statistic

add_vif

Add Variance Inflation Factor

as_flex_table

Convert gtsummary object to a flextable object

as_gt

Convert gtsummary object to gt

as_hux_table

Convert gtsummary object to a huxtable object

as_kable_extra

Convert gtsummary object to a kableExtra object

as_kable

Convert gtsummary object to a kable object

as_tibble.gtsummary

Convert gtsummary object to a tibble

assign_summary_digits

Assign Default Digits

assign_summary_type

Assign Default Summary Type

assign_tests

Assign Test

bold_italicize_labels_levels

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

combine_terms

Combine terms

continuous_summary

Summarize a continuous variable

custom_tidiers

Custom tidiers

default_stat_labels

Default Statistics Labels

deprecated_ci_column

Column "ci" Deprecated

deprecated

Deprecated functions

dot-create_gtsummary_object

Function uses table_body to create a gtsummary object

dot-list2tb

Convert Named List to Table Body

dot-table_styling_expr_to_row_number

Object Convert Helper

gather_ard

Extract ARDs

glance_fun_s3

Default glance function

global_pvalue_fun

Global p-value generic

gtsummary-package

gtsummary: Presentation-Ready Data Summary and Analytic Result Tables

inline_text.gtsummary

Report statistics from summary tables inline

inline_text

Report statistics from gtsummary 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_uvregression

Report statistics from regression summary tables inline

is_date_time

Is a date/time

kableExtra_utils

Special Character Escape

label_style

Style Functions

modify_caption

Modify table caption

modify_column_alignment

Modify column alignment

modify_column_hide

Modify hidden columns

modify_column_indent

Modify column indentation

modify_column_merge

Modify Column Merging

modify_fmt_fun

Modify formatting functions

modify_source_note

Modify source note

modify_table_body

Modify Table Body

modify_table_styling

Modify Table Styling

modify

Modify column headers, footnotes, and spanning headers

plot

Plot Regression Coefficients

print_gtsummary

print and knit_print methods for gtsummary objects

proportion_summary

Summarize a proportion

ratio_summary

Summarize the ratio of two variables

reexports

Objects exported from other packages

remove_row_type

Remove rows

scoping_gtsummary

Scoping for Table Body and Header

select_helpers

Select helper functions

separate_p_footnotes

Create footnotes for individual p-values

set_gtsummary_theme

Set gtsummary theme

sort_filter_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

syntax

Syntax and Notation

tbl_ard_continuous

Summarize continuous variable

tbl_ard_hierarchical

ARD Hierarchical Table

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_likert

Likert Summary

tbl_merge

Merge tables

tbl_regression_methods

Methods for tbl_regression

tbl_regression

Regression model summary

tbl_split

Split gtsummary table

tbl_stack

Stack tables

tbl_strata

Stratified gtsummary tables

tbl_summary

Summary table

tbl_survfit_errors

Common Sources of Error with tbl_survfit()

tbl_survfit

Survival table

tbl_svysummary

Create a table of summary statistics from a survey object

tbl_uvregression

Univariable regression model summary

tbl_wide_summary

Wide summary table

tests

Tests/methods available in add_p() and add_difference()

theme_gtsummary

Available gtsummary themes

tibble_as_cli

Print tibble with cli

vec_to_df

Convert character vector to data frame

Creates presentation-ready tables summarizing data sets, regression models, and more. The code to create the tables is concise and highly customizable. Data frames can be summarized with any function, e.g. mean(), median(), even user-written functions. Regression models are summarized and include the reference rows for categorical variables. Common regression models, such as logistic regression and Cox proportional hazards regression, are automatically identified and the tables are pre-filled with appropriate column headers.

  • Maintainer: Daniel D. Sjoberg
  • License: MIT + file LICENSE
  • Last published: 2024-11-30