Please see h_tab_surv_one_biomarker()
and h_tab_rsp_one_biomarker()
, which use this function for examples.
This function is a wrapper for rtables::summarize_row_groups()
.
h_tab_one_biomarker(
df,
afuns,
colvars,
na_str = default_na_str(),
.indent_mods = 0L,
...
)
An rtables
table object with statistics in columns.
(data.frame
)
results for a single biomarker.
(named list
of function
)
analysis functions.
(named list
)
named list with elements vars
(variables to tabulate) and labels
(their labels).
(string
)
string used to replace all NA
or empty values in the output.
(named integer
)
indent modifiers for the labels. Defaults to 0, which corresponds to the
unmodified default behavior. Can be negative.
additional arguments for the lower level functions.