Skip to contents

General Argument Name Convention

Usage

gen_args(
  adam_db,
  main,
  preprocess,
  postprocess,
  adam_datasets,
  type,
  arm_var,
  lbl_overall,
  prune_0,
  req_tables,
  deco,
  group,
  tlg,
  tlgfname,
  visit_var,
  visit_value,
  paramcd_value,
  ...
)

Arguments

adam_db

(dm) object containing the ADaM datasets

main

(function) returning a tlg, with adam_db as first argument. Typically one of the _main function of chevron.

preprocess

(function) returning a pre-processed dm object, with adam_db as first argument. Typically one of the _pre function of chevron.

postprocess

(function) returning a post-processed tlg, with tlg as first argument.

adam_datasets

(character) representing the names of the tables from an ADaM data set required for tlg creation.

type

(string) indicating the subclass.

arm_var

(character) variable used for column splitting

lbl_overall

(character) label used for overall column, if set to NULL the overall column is omitted

prune_0

(logical) remove 0 count rows

req_tables

(character) names of the required tables.

deco

(character) decoration with title, subtitles and main_footer content

group

(list of lists) for group-dependent data binning

tlg

(TableTree, Listing or ggplot) object typically produced by a main function.

tlgfname

(character) function name of TLG function

visit_var

Analysis Visit variable.

visit_value

Value of visit variable.

paramcd_value

Value of PARAMCD variable.

...

not used.

Details

the following arguments are better provided through the study object: lbl_overall, arm_var.