Skip to contents

A description of the causes of death optionally with the breakdown of the OTHER category and/or post-study reporting of death.

Usage

dtht01_1_main(
  adam_db,
  arm_var = "ACTARM",
  time_since_last_dose = FALSE,
  other_category = FALSE,
  lbl_overall = NULL,
  deco = std_deco("DTHT01"),
  ...
)

dtht01_1_lyt(arm_var, lbl_overall, other_category, deco)

dtht01_1_opt_lyt(arm_var, lbl_overall, deco)

dtht01_1_pre(adam_db, ...)

dtht01_1_post(tlg, prune_0 = TRUE, ...)

dtht01_1

Format

An object of class chevron_t of length 1.

Arguments

adam_db

(dm) object containing the ADaM datasets

arm_var

(string) variable used for column splitting

time_since_last_dose

(flag) should the time to event information be displayed.

other_category

(flag) should the breakdown of the OTHER category be displayed.

lbl_overall

(string) label used for overall column, if set to NULL the overall column is omitted

deco

(character) decoration with title, subtitles and main_footer content

...

not used.

tlg

(TableTree, Listing or ggplot) object typically produced by a main function.

prune_0

(flag) remove 0 count rows

Details

  • Numbers represent absolute numbers of subjects and fraction of N, or absolute numbers when specified.

  • Remove zero-count rows unless overridden with prune_0 = FALSE.

  • Does not include a total column by default.

Functions

  • dtht01_1_main(): Main TLG function

  • dtht01_1_lyt(): Layout

  • dtht01_1_opt_lyt(): Optional Layout

  • dtht01_1_pre(): Preprocessing

  • dtht01_1_post(): Postprocessing

Note

  • adam_db object must contain an adsl table with the columns "DTHFL", "DTHCAT" as well as LDDTHGR1 if time_since_last_dose is TRUE.

Examples


db <- syn_data

run(dtht01_1, db)
#>                            A: Drug X    B: Placebo   C: Combination
#>                             (N=134)      (N=134)        (N=132)    
#>   —————————————————————————————————————————————————————————————————
#>   Total number of deaths   25 (18.7%)   23 (17.2%)     22 (16.7%)  
#>   Primary cause of death                                           
#>     n                          25           23             22      
#>     ADVERSE EVENT          9 (36.0%)    7 (30.4%)      10 (45.5%)  
#>     PROGRESSIVE DISEASE    8 (32.0%)    6 (26.1%)      6 (27.3%)   
#>     OTHER                  8 (32.0%)    10 (43.5%)     6 (27.3%)   
run(dtht01_1, db, other_category = TRUE, time_since_last_dose = TRUE)
#>                                                               A: Drug X    B: Placebo   C: Combination
#>                                                                (N=134)      (N=134)        (N=132)    
#>   ————————————————————————————————————————————————————————————————————————————————————————————————————
#>   Total number of deaths                                      25 (18.7%)   23 (17.2%)     22 (16.7%)  
#>   Primary cause of death                                                                              
#>     n                                                             25           23             22      
#>     ADVERSE EVENT                                             9 (36.0%)    7 (30.4%)      10 (45.5%)  
#>     PROGRESSIVE DISEASE                                       8 (32.0%)    6 (26.1%)      6 (27.3%)   
#>     OTHER                                                     8 (32.0%)    10 (43.5%)     6 (27.3%)   
#>           LOST TO FOLLOW UP                                    2 (8.0%)     2 (8.7%)       2 (9.1%)   
#>           MISSING                                              2 (8.0%)    3 (13.0%)       2 (9.1%)   
#>           Post-study reporting of death                        1 (4.0%)     2 (8.7%)       1 (4.5%)   
#>           SUICIDE                                              2 (8.0%)     2 (8.7%)       1 (4.5%)   
#>           UNKNOWN                                              1 (4.0%)     1 (4.3%)          0       
#>   Days from last drug administration                                                                  
#>     n                                                             25           23             22      
#>     <=30                                                      14 (56.0%)   11 (47.8%)     14 (63.6%)  
#>     >30                                                       11 (44.0%)   12 (52.2%)     8 (36.4%)   
#>   Primary cause by days from last study drug administration                                           
#>     <=30                                                                                              
#>       n                                                           14           11             14      
#>       ADVERSE EVENT                                           4 (28.6%)    2 (18.2%)      6 (42.9%)   
#>       PROGRESSIVE DISEASE                                     6 (42.9%)    3 (27.3%)      4 (28.6%)   
#>       OTHER                                                   4 (28.6%)    6 (54.5%)      4 (28.6%)   
#>     >30                                                                                               
#>       n                                                           11           12             8       
#>       ADVERSE EVENT                                           5 (45.5%)    5 (41.7%)      4 (50.0%)   
#>       PROGRESSIVE DISEASE                                     2 (18.2%)    3 (25.0%)      2 (25.0%)   
#>       OTHER                                                   4 (36.4%)    4 (33.3%)      2 (25.0%)