AET02
Table 1 (Default) Adverse Events by System Organ Class and Preferred Term Table 1.The AET02
table provides an overview of the number of subjects experiencing adverse events and the number of advert
events categorized by Body System and Dictionary-Derived Term.
aet02_labelaet02_main(
adam_db,
arm_var = "ACTARM",
row_split_var = "AEBODSYS",
lbl_overall = NULL,
summary_labels = list(all = aet02_label, TOTAL = c(nonunique =
"Overall total number of events")),
...
)
aet02_pre(adam_db, row_split_var = "AEBODSYS", ...)
aet02_post(tlg, row_split_var = "AEBODSYS", prune_0 = TRUE, ...)
aet02
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).
An object of class character
of length 2.
An object of class chevron_t
of length 1.
(list
of data.frames
) object containing the ADaM
datasets
(string
) variable used for column splitting
(character
) additional row split variables.
(string
) label used for overall column, if set to NULL
the overall column is omitted
(list
) of summarize labels. See details.
not used.
(TableTree
, Listing
or ggplot
) object typically produced by a main
function.
(flag
) remove 0 count rows
aet02_label
: Default labels
aet02_main()
: Main TLG function
aet02_pre()
: Preprocessing
aet02_post()
: Postprocessing
Numbers represent absolute numbers of subject 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.
Sort Dictionary-Derived Code (AEDECOD
) by highest overall frequencies.
Missing values in AEBODSYS
, and AEDECOD
are labeled by No Coding Available
.
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.