Add column with overall summary statistics
Adds a column with overall summary statistics to tables
created by tbl_summary or tbl_svysummary.
add_overall(x, last, col_label) ## S3 method for class 'tbl_summary' add_overall(x, last = FALSE, col_label = NULL) ## S3 method for class 'tbl_svysummary' add_overall(x, last = FALSE, col_label = NULL)
x |
Object with class |
last |
Logical indicator to display overall column last in table.
Default is |
col_label |
String indicating the column label. Default is |
A tbl_summary object or a tbl_svysummary object

Daniel D. Sjoberg
Other tbl_summary tools:
add_n.tbl_summary(),
add_p.tbl_summary(),
add_q(),
add_stat_label(),
bold_italicize_labels_levels,
inline_text.tbl_summary(),
inline_text.tbl_survfit(),
modify,
tbl_merge(),
tbl_stack(),
tbl_summary()
Other tbl_svysummary tools:
add_n.tbl_summary(),
add_p.tbl_svysummary(),
add_q(),
add_stat_label(),
modify,
tbl_merge(),
tbl_stack(),
tbl_svysummary()
tbl_overall_ex <-
trial[c("age", "grade", "trt")] %>%
tbl_summary(by = trt) %>%
add_overall()Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.