modify_column_hide {gtsummary} | R Documentation |
Modify hidden columns
Description
Use these functions to hide or unhide columns in a gtsummary table.
Use show_header_names(show_hidden=TRUE)
to print available columns to update.
Usage
modify_column_hide(x, columns)
modify_column_unhide(x, columns)
Arguments
x |
( |
columns |
( |
Author(s)
Daniel D. Sjoberg
Examples
# Example 1 ----------------------------------
# hide 95% CI, and replace with standard error
lm(age ~ marker + grade, trial) |>
tbl_regression() |>
modify_column_hide(conf.low) |>
modify_column_unhide(columns = std.error)
[Package gtsummary version 2.0.0 Index]