Learn R Programming

chevron (version 0.2.7)

lbt06_main: LBT06 Table 1 (Default) Laboratory Abnormalities by Visit and Baseline Status Table 1.

Description

The LBT06 table produces the standard laboratory abnormalities by visit and baseline status summary.

Usage

lbt06_main(
  adam_db,
  arm_var = "ACTARM",
  lbl_overall = NULL,
  page_var = "PARAMCD",
  ...
)

lbt06_pre(adam_db, ...)

lbt06_post(tlg, prune_0 = FALSE, ...)

lbt06

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) the arm variable used for arm splitting.

lbl_overall

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

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.

prune_0

(flag) remove 0 count rows

Functions

  • lbt06_main(): Main TLG function

  • lbt06_pre(): Preprocessing

  • lbt06_post(): Postprocessing

Details

  • Only count "LOW" or "HIGH" values for ANRIND and BNRIND.

  • Lab test results with missing ANRIND values are excluded.

  • Split columns by arm, typically ACTARM.

  • Keep zero count rows by default.

Examples

Run this code
run(lbt06, syn_data)

Run the code above in your browser using DataLab