Skip to contents

Function to create (a part of a) nicely formatted table

Usage

create_numeric_subtable(
  DescrVarObj,
  var_name,
  format_options,
  format_summary_stats,
  format_p,
  reshape_rows
)

Arguments

DescrVarObj

Variable object to be formatted

var_name

(character) Name of the variable

format_options

named list of options for formatting

format_summary_stats

named list of summary statistcs

format_p

formatting function for p-values

reshape_rows

named list of row reshaping functions