EXT01 Table 2 (Supplementary) Exposure Summary Table with grouping options
ext01_2.Rd
EXT01 Table 2 (Supplementary) Exposure Summary Table with grouping options
Usage
ext01_2_main(
adam_db,
summaryvars = list("AVAL", "AVALCAT1"),
arm_var = "ACTARM",
lbl_overall = NULL,
deco = std_deco("EXT01"),
...
)
ext01_2_lyt(
arm_var,
summaryvars,
summaryvars_lbls,
lbl_overall,
deco = std_deco("EXT01")
)
ext01_2_pre(adam_db, show_stats = c("ALL"), show_bins = c("ALL"), ...)
ext01_2_post(tlg, prune_0 = TRUE, ...)
ext01_2
Arguments
- adam_db
(
dm
) object containing theADaM
datasets- summaryvars
(
string
) the name of the variable to be analyzed. By default"AVAL"
.- arm_var
(
character
) variable used for column splitting- lbl_overall
(
character
) label used for overall column, if set toNULL
the overall column is omitted- deco
(
character
) decoration withtitle
,subtitles
andmain_footer
content- ...
not used.
- summaryvars_lbls
(
string
) the label associated with the analyzed variable.- show_stats
(
vector of character
) providing the name of the parameters whose statistical summary should be presented. To analyze all, provideshow_stats = "ALL"
(Default), to analyze none, provideshow_stats = ""
.- show_bins
(
vector of character
) providing the name of the parameters whose categorical summary should be presented. To analyze all, provideshow_bins = "ALL"
(Default), to analyze none, provideshow_bins = ""
.- tlg
(
TableTree
,Listing
orggplot
) object typically produced by amain
function.- prune_0
(
logical
) remove 0 count rows
Details
Supplementary Exposure table with binning of desired analysis values.
The
n
row provides the number of non-missing values. The percentages for categorical variables is based onn
. The percentages forTotal number of patients with at least one dose modification
are based on the number of patients in the corresponding analysis population given byN
.Split columns by arm, typically
ACTARM
.Does not include a total column by default.
Sorted by alphabetic order of the
PARAM
value. Transform to factor and re-level for custom order.ANL01FL
is not relevant subset
Functions
ext01_2_main()
: Main TLG functionext01_2_lyt()
: Layoutext01_2_pre()
: Preprocessingext01_2_post()
: Postprocessing
Examples
run(ext01_2, syn_data)
#> A: Drug X B: Placebo C: Combination
#> (N=134) (N=134) (N=132)
#> ————————————————————————————————————————————————————————————————————————————————————————
#> Total dose administered
#> n 134 134 132
#> Mean (SD) 6655.5 (1209.6) 6401.2 (1269.9) 6776.4 (1212.5)
#> Median 6720.0 6360.0 6720.0
#> Min - Max 4320.0 - 9360.0 4080.0 - 9360.0 4320.0 - 9360.0
#> n 134 134 132
#> <5000 10 (7.5%) 18 (13.4%) 7 (5.3%)
#> >9000 2 (1.5%) 3 (2.2%) 3 (2.3%)
#> 5000-7000 72 (53.7%) 71 (53.0%) 71 (53.8%)
#> 7000-9000 50 (37.3%) 42 (31.3%) 51 (38.6%)
#> Total number of doses administered
#> n 134 134 132
#> Mean (SD) 7.0 (0.0) 7.0 (0.0) 7.0 (0.0)
#> Median 7.0 7.0 7.0
#> Min - Max 7.0 - 7.0 7.0 - 7.0 7.0 - 7.0