pdt02 Major Protocol Deviations Related to Epidemic/Pandemic Table.A major protocol deviations table with the number of subjects and the total number of Major Protocol Deviations Related to Epidemic/Pandemic sorted alphabetically and deviations name sorted by frequencies.
pdt02_main(
adam_db,
arm_var = "ARM",
lbl_overall = NULL,
dvreas_var = "DVREAS",
dvterm_var = "DVTERM",
...
)pdt02_pre(adam_db, ...)
pdt02_post(
tlg,
prune_0 = TRUE,
dvreas_var = "DVREAS",
dvterm_var = "DVTERM",
...
)
pdt02
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 chevron_t of length 1.
(list of data.frames) object containing the ADaM datasets
(string) variable used for column splitting
(string) label used for overall column, if set to NULL the overall column is omitted
(string) the variable defining the reason for deviation. By default DVREAS.
(string) the variable defining the protocol deviation term. By default DVTERM.
not used.
(TableTree, Listing or ggplot) object typically produced by a main function.
(flag) remove 0 count rows
pdt02_main(): Main TLG function
pdt02_pre(): Preprocessing
pdt02_post(): Postprocessing
Data should be filtered for major protocol deviations related to epidemic/pandemic.
(AEPRELFL == "Y" & DVCAT == "MAJOR").
Numbers represent absolute numbers of subjects and fraction of N, or absolute numbers 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 by deviation reason alphabetically and within deviation reason by decreasing total number of patients with the specific deviation term.