tbl_split: Split gtsummary Table

Description Usage Arguments Value Possible Changes Examples

View source: R/tbl_split.R

Description

Split gtsummary Table

Usage

1
2
3
4
tbl_split(x, variables)

## S3 method for class 'tbl_split'
print(x, ...)

Arguments

x

gtsummary table

variables

variables to split gtsummary table at

...

not used

Value

tbl_split object

Possible Changes

Examples

1
2
3
4
5
library(gtsummary)

tbl <-
  tbl_summary(trial) %>%
  tbl_split(variables = c(marker, grade))

ddsjoberg/bstfun documentation built on May 4, 2021, 9:39 a.m.