
Helper function for tabulation of a single biomarker result
Source:R/h_biomarkers_subgroups.R
      h_tab_one_biomarker.RdPlease 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().
Usage
h_tab_one_biomarker(
  df,
  afuns,
  colvars,
  na_str = default_na_str(),
  .indent_mods = 0L,
  ...
)Arguments
- df
 (
data.frame)
results for a single biomarker.- afuns
 (named
listoffunction)
analysis functions.- colvars
 (named
list)
named list with elementsvars(variables to tabulate) andlabels(their labels).- na_str
 (
string)
string used to replace allNAor empty values in the output.- .indent_mods
 (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.