| pdt01_main {chevron} | R Documentation |
pdt01 Major Protocol Deviations Table.
Description
A major protocol deviations table with the number of subjects and the total number of treatments by medication class sorted alphabetically and medication name sorted by frequencies.
Usage
pdt01_main(
adam_db,
arm_var = "ARM",
lbl_overall = NULL,
dvcode_var = "DVDECOD",
dvterm_var = "DVTERM",
...
)
pdt01_pre(adam_db, ...)
pdt01_post(
tlg,
prune_0 = TRUE,
dvcode_var = "DVDECOD",
dvterm_var = "DVTERM",
...
)
pdt01
Arguments
adam_db |
( |
arm_var |
( |
lbl_overall |
( |
dvcode_var |
( |
dvterm_var |
( |
... |
not used. |
tlg |
( |
prune_0 |
( |
Format
An object of class chevron_t of length 1.
Details
Data should be filtered for major protocol deviations.
(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 medication class alphabetically and within medication class by decreasing total number of patients with the specific medication.
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
-
pdt01_main(): Main TLG function -
pdt01_pre(): Preprocessing -
pdt01_post(): Postprocessing
Note
-
adam_dbobject must contain anaddvtable with the columns specified indvcode_varanddvterm_varas well as"DVSEQ".
Examples
run(pdt01, syn_data)