AET01
Table 1 (Default) Overview of Deaths and Adverse Events Summary Table 1.
Source: R/aet01.R
aet01.Rd
AET01
Table 1 (Default) Overview of Deaths and Adverse Events Summary Table 1.
Usage
aet01_main(
adam_db,
arm_var = "ACTARM",
lbl_overall = NULL,
anl_vars = list(safety_var = c("FATAL", "SER", "SERWD", "SERDSM", "RELSER", "WD",
"DSM", "REL", "RELWD", "RELDSM", "SEV")),
anl_lbls = "Total number of {patient_label} with at least one",
...
)
aet01_pre(adam_db, ...)
aet01_post(tlg, prune_0 = FALSE, ...)
aet01
Arguments
- adam_db
(
list
ofdata.frames
) object containing theADaM
datasets- arm_var
(
string
) variable used for column splitting- lbl_overall
(
string
) label used for overall column, if set toNULL
the overall column is omitted- anl_vars
Named (
list
) of (character
) variables the safety variables to be summarized.- anl_lbls
(
character
) of analysis labels.- ...
not used.
- tlg
(
TableTree
,Listing
orggplot
) object typically produced by amain
function.- prune_0
(
flag
) remove 0 count rows
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).
Note
adam_db
object must contain anadsl
table with the"DTHFL"
and"DCSREAS"
columns.adam_db
object must contain anadae
table with the columns passed toanl_vars
.
Examples
run(aet01, syn_data, arm_var = "ARM")
#> A: Drug X B: Placebo C: Combination
#> (N=134) (N=134) (N=132)
#> ———————————————————————————————————————————————————————————————————————————————————————————————————————
#> Total number of patients with at least one AE 122 (91.0%) 123 (91.8%) 120 (90.9%)
#> Total number of AEs 609 622 703
#> Total number of deaths 25 (18.7%) 23 (17.2%) 22 (16.7%)
#> Total number of patients withdrawn from study due to an AE 3 (2.2%) 6 (4.5%) 5 (3.8%)
#> Total number of patients with at least one
#> AE with fatal outcome 76 (56.7%) 70 (52.2%) 75 (56.8%)
#> Serious AE 104 (77.6%) 101 (75.4%) 99 (75.0%)
#> Serious AE leading to withdrawal from treatment 9 (6.7%) 6 (4.5%) 11 (8.3%)
#> Serious AE leading to dose modification/interruption 22 (16.4%) 26 (19.4%) 29 (22.0%)
#> Related Serious AE 76 (56.7%) 70 (52.2%) 75 (56.8%)
#> AE leading to withdrawal from treatment 27 (20.1%) 26 (19.4%) 30 (22.7%)
#> AE leading to dose modification/interruption 66 (49.3%) 76 (56.7%) 74 (56.1%)
#> Related AE 105 (78.4%) 108 (80.6%) 109 (82.6%)
#> Related AE leading to withdrawal from treatment 6 (4.5%) 12 (9.0%) 8 (6.1%)
#> Related AE leading to dose modification/interruption 29 (21.6%) 38 (28.4%) 38 (28.8%)
#> Severe AE (at greatest intensity) 91 (67.9%) 90 (67.2%) 93 (70.5%)