Use modify_table_styling()
instead.
modify_table_header(
x,
column,
label = NULL,
hide = NULL,
align = NULL,
missing_emdash = NULL,
indent = NULL,
text_interpret = NULL,
bold = NULL,
italic = NULL,
fmt_fun = NULL,
footnote_abbrev = NULL,
footnote = NULL,
spanning_header = NULL
)
gtsummary object
vector or selector of columns in x$table_body
string of column label
logical indicating whether to hide column from output
string indicating alignment of column, must be one of
c("left", "right", "center")
string that evaluates to logical identifying rows to
include em-dash for missing values, e.g. "reference_row == TRUE"
string that evaluates to logical identifying rows to indent
string, must be one of "gt::md"
or "gt::html"
string that evaluates to logical identifying rows to bold
string that evaluates to logical identifying rows to italicize
function that formats the statistics in the column
string with abbreviation definition, e.g.
"CI = Confidence Interval"
string with text for column footnote
string with text for spanning header
Review list, formula, and selector syntax used throughout gtsummary