Skip to contents

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

egt03_1_check(adam_db, req_tables, visit_var, paramcd_value, visit_value)

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

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

egt03_1

Format

An object of class chevron_t of length 1.

Arguments

adam_db

(dm) object containing the ADaM datasets

arm_var

(vector of 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.

req_tables

(character) names of the required tables.

visit_var

Analysis Visit variable.

paramcd_value

Value of PARAMCD variable.

visit_value

Value of visit 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 MINIMUM" visit

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

  • egt03_1_lyt(): Layout

  • egt03_1_check(): Checks

  • egt03_1_pre(): Preprocessing

  • egt03_1_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_1, db)
#>   Planned Arm Code                           Minimum Post-Baseline Assessment     
#>     Baseline Reference Range Indicator       LOW         NORMAL     HIGH   Missing
#>   ————————————————————————————————————————————————————————————————————————————————
#>   ARM A (N=134)                                                                   
#>     LOW                                   1 (0.7%)      5 (3.7%)     0        0   
#>     NORMAL                               36 (26.9%)    85 (63.4%)    0        0   
#>     HIGH                                  3 (2.2%)       4 (3%)      0        0   
#>     Missing                                   0            0         0        0   
#>   ARM B (N=134)                                                                   
#>     LOW                                   1 (0.7%)      9 (6.7%)     0        0   
#>     NORMAL                               41 (30.6%)    78 (58.2%)    0        0   
#>     HIGH                                  1 (0.7%)       4 (3%)      0        0   
#>     Missing                                   0            0         0        0   
#>   ARM C (N=132)                                                                   
#>     LOW                                    4 (3%)      11 (8.3%)     0        0   
#>     NORMAL                               32 (24.2%)    75 (56.8%)    0        0   
#>     HIGH                                  1 (0.8%)      9 (6.8%)     0        0   
#>     Missing                                   0            0         0        0