
Baseline Demographic and Clinical Characteristics
Source:R/gen_summary_utils.R
build_adsl_chars_table.Rd
Baseline Demographic and Clinical Characteristics
Arguments
- title
(
character
)
Title of the demographic table.- subtitle
(
character
)
Subtitle of the demographic table.(
character
)
Footer of the demographic table.- split_cols_by
(
character
)
Arm variable used to split table into columns.- group_by
(
character
)
Additional Grouping Variables (max2
)- summ_vars
(
vector of character
)
Variables from df to include in the table.- disp_stat
(
vector of character
)
Statistics to display.
See also
Other generic:
build_disp_table()
,
build_generic_bds_table()
,
build_generic_occurrence_table()
,
build_shift_table()
Examples
adsl <- pharmaverseadam::adsl |> drop_missing_cols()
#> Error in loadNamespace(x): there is no package called 'pharmaverseadam'
lyt <- build_adsl_chars_table(
split_cols_by = "ARM",
summ_vars = c("AGE", "RACE")
)
tbl <- rtables::build_table(lyt, adsl)
if (FALSE) { # \dontrun{
tt_to_flextable(tbl)
} # }