View source: R/colby_constructors.R
add_overall_col | R Documentation |
This function will only add an overall column at the top level of splitting, NOT within existing column splits.
See add_overall_level()
for the recommended way to add overall columns more generally within existing splits.
add_overall_col(lyt, label)
lyt |
( |
label |
( |
A PreDataTableLayouts
object suitable for passing to further layouting functions, and to build_table()
.
add_overall_level()
lyt <- basic_table() %>%
split_cols_by("ARM") %>%
add_overall_col("All Patients") %>%
analyze("AGE")
lyt
tbl <- build_table(lyt, DM)
tbl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.