EGT02
Table 1 (Default) ECG Abnormalities Table 1.
egt02_1.Rd
Assessments Outside Normal Limits Regardless of Abnormality at Baseline Table.
Usage
egt02_1_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"),
.study = list(actualarm = "ACTARM", lbl_overall = NULL)
)
egt02_1_lyt(
armvar = .study$actualarm,
lbl_vs_assessment = "Assessment",
lbl_vs_abnormality = "Abnormality",
lbl_overall = .study$lbl_overall,
deco = std_deco("EGT02"),
.study = list(actualarm = "ACTARM", lbl_overall = NULL)
)
egt02_1_pre(adam_db, ...)
egt02_1
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_1, syn_test_data())
#> Assessment A: Drug X B: Placebo C: Combination
#> Abnormality (N=134) (N=134) (N=132)
#> ———————————————————————————————————————————————————————————————
#> Heart Rate
#> Low 48/134 (35.8%) 57/134 (42.5%) 55/132 (41.7%)
#> High 48/134 (35.8%) 50/134 (37.3%) 48/132 (36.4%)
#> QT Duration
#> Low 53/134 (39.6%) 56/134 (41.8%) 55/132 (41.7%)
#> High 45/134 (33.6%) 51/134 (38.1%) 46/132 (34.8%)
#> RR Duration
#> Low 56/134 (41.8%) 41/134 (30.6%) 50/132 (37.9%)
#> High 39/134 (29.1%) 61/134 (45.5%) 41/132 (31.1%)