Skip to contents

The EGT03 Table entries provide the number of patients by baseline assessment and maximum 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_2_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_2_lyt(
  arm_var,
  splitvar,
  summaryvar,
  lbl_armvar,
  lbl_splitvar,
  lbl_summaryvars,
  deco
)

egt03_2_pre(adam_db, visit_var = "AVISIT", paramcd_value = "HR", ...)

egt03_2_post(tlg, prune_0 = FALSE, ...)

egt03_2

Format

An object of class chevron_t of length 1.

Arguments

adam_db

(dm) object containing the ADaM 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 in adeg table of adam_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 in adeg table of adam_db is used.

deco

(character) decoration with title, subtitles and main_footer content

...

not used.

lbl_armvar

(character) label of the arm_var variable.

lbl_splitvar

(character) label of the splitvar variable.

lbl_summaryvars

(character) label of the summaryvar variable.

visit_var

Analysis Visit variable.

paramcd_value

Value of PARAMCD variable.

tlg

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

prune_0

(logical) remove 0 count rows

Details

  • ADEG data are subsetted to contain only "POST-BASELINE MAXIMUM" visit

  • the number of patients by baseline assessment and maximum 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_2_main(): Main TLG function

  • egt03_2_lyt(): Layout

  • egt03_2_pre(): Preprocessing

  • egt03_2_post(): Postprocessing

Note

  • adam_db object must contain an adeg table with a "ARMCD" column as well as columns specified in summaryvar and splitvar.

Examples

db <- syn_data
run(egt03_2, db)
#>   Planned Arm Code                           Maximum Post-Baseline Assessment     
#>     Baseline Reference Range Indicator   LOW      NORMAL         HIGH      Missing
#>   ————————————————————————————————————————————————————————————————————————————————
#>   ARM A (N=134)                                                                   
#>     LOW                                   0      2 (1.5%)       4 (3%)        0   
#>     NORMAL                                0     88 (65.7%)    33 (24.6%)      0   
#>     HIGH                                  0      5 (3.7%)      2 (1.5%)       0   
#>     Missing                               0          0            0           0   
#>   ARM B (N=134)                                                                   
#>     LOW                                   0       8 (6%)       2 (1.5%)       0   
#>     NORMAL                                0     78 (58.2%)    41 (30.6%)      0   
#>     HIGH                                  0      3 (2.2%)      2 (1.5%)       0   
#>     Missing                               0          0            0           0   
#>   ARM C (N=132)                                                                   
#>     LOW                                   0      12 (9.1%)     3 (2.3%)       0   
#>     NORMAL                                0     79 (59.8%)    28 (21.2%)      0   
#>     HIGH                                  0      5 (3.8%)      5 (3.8%)       0   
#>     Missing                               0          0            0           0