powered by
Ahead of a gtsummary object being converted to an output type, each logical expression saved in x$table_styling is converted to a list of row numbers.
x$table_styling
.table_styling_expr_to_row_number(x)
a gtsummary object
tbl <- trial %>% tbl_summary(include = c(age, grade)) %>% .table_styling_expr_to_row_number()
Run the code above in your browser using DataLab