EGT03
Table 1 (Default) Shift Table of ECG Interval Data - Baseline versus Minimum Post-Baseline
egt03_1.Rd
The EGT03
Table entries provide the number of patients by baseline assessment and minimum 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_1_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_1_lyt(
arm_var,
splitvar,
summaryvar,
lbl_armvar,
lbl_splitvar,
lbl_summaryvars,
deco
)
egt03_1_check(adam_db, req_tables, visit_var, paramcd_value, visit_value)
egt03_1_pre(adam_db, visit_var = "AVISIT", paramcd_value = "HR", ...)
egt03_1_post(tlg, prune_0 = FALSE, ...)
egt03_1
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
(
string
) label of thearm_var
variable.- lbl_splitvar
(
string
) label of thesplitvar
variable.- lbl_summaryvars
(
string
) label of thesummaryvar
variable.- req_tables
(
character
) names of the required tables.- visit_var
Analysis Visit variable.
- paramcd_value
Value of PARAMCD variable.
- visit_value
Value of visit variable.
- tlg
(
TableTree
,Listing
orggplot
) object typically produced by amain
function.- prune_0
(
flag
) remove 0 count rows
Details
ADEG data are subsetted to contain only "POST-BASELINE MINIMUM" visit
the number of patients by baseline assessment and minimum 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_1_main()
: Main TLG functionegt03_1_lyt()
: Layoutegt03_1_check()
: Checksegt03_1_pre()
: Preprocessingegt03_1_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_1, db)
#> Planned Arm Code Minimum Post-Baseline Assessment
#> Baseline Reference Range Indicator LOW NORMAL HIGH Missing
#> ————————————————————————————————————————————————————————————————————————————————
#> ARM A (N=134)
#> LOW 1 (0.7%) 5 (3.7%) 0 0
#> NORMAL 36 (26.9%) 85 (63.4%) 0 0
#> HIGH 3 (2.2%) 4 (3%) 0 0
#> Missing 0 0 0 0
#> ARM B (N=134)
#> LOW 1 (0.7%) 9 (6.7%) 0 0
#> NORMAL 41 (30.6%) 78 (58.2%) 0 0
#> HIGH 1 (0.7%) 4 (3%) 0 0
#> Missing 0 0 0 0
#> ARM C (N=132)
#> LOW 4 (3%) 11 (8.3%) 0 0
#> NORMAL 32 (24.2%) 75 (56.8%) 0 0
#> HIGH 1 (0.8%) 9 (6.8%) 0 0
#> Missing 0 0 0 0