Learn R Programming

chevron (version 0.2.7)

lbt04_main: LBT04 Laboratory Abnormalities Not Present at Baseline Table.

Description

The LBT04 table provides an overview of laboratory abnormalities not present at baseline.

Usage

lbt04_main(
  adam_db,
  arm_var = "ACTARM",
  lbl_overall = NULL,
  analysis_abn_var = "ANRIND",
  baseline_abn_var = "BNRIND",
  row_split_var = "PARCAT1",
  page_var = tail(row_split_var, 1L),
  ...
)

lbt04_pre(adam_db, ...)

lbt04_post(tlg, ...)

lbt04

Value

the main function returns an rtables object.

the preprocessing function returns a list of data.frame.

the postprocessing function returns an rtables object or an ElementaryTable (null report).

Format

An object of class chevron_t of length 1.

Arguments

adam_db

(list of data.frames) object containing the ADaM datasets

arm_var

(string) variable used for column splitting

lbl_overall

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

analysis_abn_var

(string) column describing anomaly magnitude

baseline_abn_var

(string) column describing anomaly at baseline.

row_split_var

(character) additional row split variables.

page_var

(string) variable name prior to which the row split is by page.

...

not used.

tlg

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

Functions

  • lbt04_main(): Main TLG function

  • lbt04_pre(): Preprocessing

  • lbt04_post(): Postprocessing

Details

  • Only count LOW or HIGH values.

  • Lab test results with missing analysis_abn_var values are excluded.

  • Split columns by arm, typically ACTARM.

  • Does not include a total column by default.

Examples

Run this code
run(lbt04, syn_data)

Run the code above in your browser using DataLab