aet01: 'AET01' Table 1 (Default) Overview of Deaths and Adverse...

aet01_mainR Documentation

AET01 Table 1 (Default) Overview of Deaths and Adverse Events Summary Table 1.

Description

AET01 Table 1 (Default) Overview of Deaths and Adverse Events Summary Table 1.

Usage

aet01_main(
  adam_db,
  arm_var = "ACTARM",
  lbl_overall = NULL,
  anl_vars = list(safety_var = c("FATAL", "SER", "SERWD", "SERDSM", "RELSER", "WD",
    "DSM", "REL", "RELWD", "RELDSM", "SEV")),
  anl_lbls = "Total number of {patient_label} with at least one",
  show_wd = TRUE,
  ...
)

aet01_pre(adam_db, ...)

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

aet01

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

anl_vars

Named (list) of (character) variables the safety variables to be summarized.

anl_lbls

(character) of analysis labels.

show_wd

(flag) whether to display the number of patients withdrawn from study due to an adverse event and the number of death.

...

not used.

tlg

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

prune_0

(flag) remove 0 count rows

Format

An object of class chevron_t of length 1.

Details

  • Does not remove rows with zero counts by default.

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).

Functions

  • aet01_main(): Main TLG function

  • aet01_pre(): Preprocessing

  • aet01_post(): Postprocessing

Note

  • adam_db object must contain an adsl table with the "DTHFL" and "DCSREAS" columns.

  • adam_db object must contain an adae table with the columns passed to anl_vars.

Examples

run(aet01, syn_data, arm_var = "ARM")

chevron documentation built on June 20, 2025, 5:08 p.m.