EGT02
Table 2 (Supplementary) ECG Abnormalities Table 2.
egt02_2.Rd
Assessments Outside Normal Limits Among Subject Without Abnormality at Baseline.
Usage
egt02_2_main(
adam_db,
armvar = .study$actualarm,
lbl_vs_assessment = "Assessment",
lbl_vs_abnormality = "Abnormality",
lbl_overall = .study$lbl_overall,
prune_0 = FALSE,
deco = std_deco("EGT02_2"),
.study = list(actualarm = "ACTARM", lbl_overall = NULL)
)
egt02_2_lyt(
armvar = .study$actualarm,
lbl_vs_assessment = "Assessment",
lbl_vs_abnormality = "Abnormality",
lbl_overall = .study$lbl_overall,
deco = std_deco("EGT02_2"),
.study = list(actualarm = "ACTARM", lbl_overall = NULL)
)
egt02_2_pre(adam_db, ...)
egt02_2
Arguments
- adam_db
(
dm
) object containing theADaM
datasets- armvar
(
character
) variable used for column splitting- lbl_vs_assessment
(
character
) the label of the assessment variable.- lbl_vs_abnormality
(
character
) the label of the abnormality variable.- lbl_overall
(
character
) label used for overall column, if set toNULL
the overall column is omitted- prune_0
(
logical
) remove 0 count rows- deco
(
character
) decoration withtitle
,subtitles
andmain_footer
content- .study
(
list
) with default values for the arguments of the function- ...
not used.
Details
Only count LOW or HIGH values.
Results of "LOW LOW" are treated as the same as "LOW", and "HIGH HIGH" the same as "HIGH".
Does not include a total column by default.
Does not remove zero-count rows unless overridden with
prune_0 = TRUE
.
Examples
run(egt02_2, syn_test_data())
#> Assessment A: Drug X B: Placebo C: Combination
#> Abnormality (N=134) (N=134) (N=132)
#> ———————————————————————————————————————————————————————————————
#> Heart Rate
#> Low 42/128 (32.8%) 47/124 (37.9%) 40/117 (34.2%)
#> High 41/127 (32.3%) 45/129 (34.9%) 38/122 (31.1%)
#> QT Duration
#> Low 32/113 (28.3%) 48/126 (38.1%) 47/124 (37.9%)
#> High 36/125 (28.8%) 47/130 (36.2%) 33/119 (27.7%)
#> RR Duration
#> Low 51/129 (39.5%) 30/123 (24.4%) 44/126 (34.9%)
#> High 32/127 (25.2%) 49/122 (40.2%) 34/125 (27.2%)