A gtsummary wrapper function that takes a gtsummary object and removes a column from the table body by column name

gt_remove_stat(gts_object, col_name = "stat_0")

Arguments

gts_object

A data frame, passed by the gtsummary::add_stat function

col_name

the column name from the gtsummary object's table_body to remove

Value

a gtsummary object without the named column