tbl_split {gtsummary} | R Documentation |
Split gtsummary table
Description
The tbl_split
function splits a single gtsummary table into multiple tables.
Updates to the print method are expected.
Usage
tbl_split(x, ...)
## S3 method for class 'gtsummary'
tbl_split(x, variables, ...)
## S3 method for class 'tbl_split'
print(x, ...)
Arguments
x |
( |
... |
These dots are for future extensions and must be empty. |
variables |
( |
Value
tbl_split
object
Examples
tbl <-
tbl_summary(trial) |>
tbl_split(variables = c(marker, grade))
[Package gtsummary version 2.0.0 Index]