Learn R Programming

chevron (version 0.2.7)

mht01_label: MHT01 Medical History Table.

Description

The MHT01 table provides an overview of the subjects medical history by SOC and Preferred Term.

Usage

mht01_label

mht01_main( adam_db, arm_var = "ARM", row_split_var = "MHBODSYS", lbl_overall = NULL, summary_labels = list(all = mht01_label), ... )

mht01_pre(adam_db, ...)

mht01_post(tlg, row_split_var = "MHBODSYS", prune_0 = TRUE, ...)

mht01

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 character of length 2.

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

row_split_var

(character) additional row split variables.

lbl_overall

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

summary_labels

(list) of summarize labels. See details.

...

not used.

tlg

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

prune_0

(flag) remove 0 count rows

Functions

  • mht01_label: Default labels

  • mht01_main(): Main TLG function

  • mht01_pre(): Preprocessing

  • mht01_post(): Postprocessing

Details

  • Numbers represent absolute numbers of patients and fraction of N, or absolute number of event when specified.

  • Remove zero-count rows unless overridden with prune_0 = FALSE.

  • Split columns by arm.

  • Does not include a total column by default.

  • Order by row_split_var alphabetically and medical condition by decreasing total number of patients with the specific condition. summary_labels is used to control the summary for each level. If "all" is used, then each split will have that summary statistic with the labels. One special case is "TOTAL", this is for the overall population.

Examples

Run this code
run(mht01, syn_data)

Run the code above in your browser using DataLab