EGT03
Table 2 Shift Table of ECG Interval Data - Baseline versus Maximum Post-Baseline
egt03_2.Rd
The EGT03
Table entries provide the number of patients by baseline assessment and maximum post-baseline
assessment. Percentages are based on the total number of patients in a treatment group. Baseline is the
patient's last observation prior to initiation of study drug.
Usage
egt03_2_main(
adam_db,
arm_var = "ARMCD",
summaryvar = list(`Baseline Reference Range Indicator` = "BNRIND"),
splitvar = list(`Analysis Reference Range Indicator` = "ANRIND"),
deco = std_deco("EGT03"),
...
)
egt03_2_lyt(
arm_var,
splitvar,
summaryvar,
lbl_armvar,
lbl_splitvar,
lbl_summaryvars,
deco
)
egt03_2_pre(adam_db, visit_var = "AVISIT", paramcd_value = "HR", ...)
egt03_2_post(tlg, prune_0 = FALSE, ...)
egt03_2
Arguments
- adam_db
(
dm
) object containing theADaM
datasets- arm_var
(
character
) the arm variables used for row split, typically"ARMCD"
.- summaryvar
(
list
) variables to be analyzed, typically"BNRIND"
. Names are used as subtitles. For values where no name is provided, the label attribute of the corresponding column inadeg
table ofadam_db
is used.- splitvar
(
list
) variables to be analyzed, typically"BNRIND"
. Names are used as subtitles. For values where no name is provided, the label attribute of the corresponding column inadeg
table ofadam_db
is used.- deco
(
character
) decoration withtitle
,subtitles
andmain_footer
content- ...
not used.
- lbl_armvar
(
character
) label of thearm_var
variable.- lbl_splitvar
(
character
) label of thesplitvar
variable.- lbl_summaryvars
(
character
) label of thesummaryvar
variable.- visit_var
Analysis Visit variable.
- paramcd_value
Value of PARAMCD variable.
- tlg
(
TableTree
,Listing
orggplot
) object typically produced by amain
function.- prune_0
(
logical
) remove 0 count rows
Details
ADEG data are subsetted to contain only "POST-BASELINE MAXIMUM" visit
the number of patients by baseline assessment and maximum post-baseline assessment.
Percentages are based on the total number of patients in a treatment group.
Split columns by Analysis Reference Range Indicator, typically
ANRIND
.Does not include a total column by default.
Sorted based on factor level.
Functions
egt03_2_main()
: Main TLG functionegt03_2_lyt()
: Layoutegt03_2_pre()
: Preprocessingegt03_2_post()
: Postprocessing
Note
adam_db
object must contain anadeg
table with a"ARMCD"
column as well as columns specified insummaryvar
andsplitvar
.
Examples
db <- syn_data
run(egt03_2, db)
#> Planned Arm Code Maximum Post-Baseline Assessment
#> Baseline Reference Range Indicator LOW NORMAL HIGH Missing
#> ————————————————————————————————————————————————————————————————————————————————
#> ARM A (N=134)
#> LOW 0 2 (1.5%) 4 (3%) 0
#> NORMAL 0 88 (65.7%) 33 (24.6%) 0
#> HIGH 0 5 (3.7%) 2 (1.5%) 0
#> Missing 0 0 0 0
#> ARM B (N=134)
#> LOW 0 8 (6%) 2 (1.5%) 0
#> NORMAL 0 78 (58.2%) 41 (30.6%) 0
#> HIGH 0 3 (2.2%) 2 (1.5%) 0
#> Missing 0 0 0 0
#> ARM C (N=132)
#> LOW 0 12 (9.1%) 3 (2.3%) 0
#> NORMAL 0 79 (59.8%) 28 (21.2%) 0
#> HIGH 0 5 (3.8%) 5 (3.8%) 0
#> Missing 0 0 0 0