ext01_main {chevron} | R Documentation |
EXT01
Exposure Summary Table.
Description
The EXT01
table provides an overview of the of the exposure of the
patients in terms of Total dose administered or missed, and treatment duration.
Usage
ext01_main(
adam_db,
arm_var = "ACTARM",
lbl_overall = NULL,
summaryvars = "AVAL",
row_split_var = "PARCAT2",
page_var = NULL,
map = NULL,
...
)
ext01_pre(adam_db, ...)
ext01_post(tlg, prune_0 = TRUE, ...)
ext01
Arguments
adam_db |
( |
arm_var |
( |
lbl_overall |
( |
summaryvars |
( |
row_split_var |
( |
page_var |
( |
map |
( |
... |
not used. |
tlg |
( |
prune_0 |
( |
Format
An object of class chevron_t
of length 1.
Details
Default Exposure table
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.
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).
Functions
-
ext01_main()
: Main TLG function -
ext01_pre()
: Preprocessing -
ext01_post()
: Postprocessing
Note
-
adam_db
object must contain anadex
table with columns specified insummaryvars
.
Examples
run(ext01, syn_data)
run(ext01, syn_data, summaryvars = c("AVAL", "AVALCAT1"), prune_0 = FALSE)
levels(syn_data$adex$AVALCAT1) <- c(levels(syn_data$adex$AVALCAT1), "12 months")
map <- data.frame(
PARAMCD = "TDURD",
AVALCAT1 = c("< 1 month", "1 to <3 months", ">=6 months", "3 to <6 months", "12 months")
)
run(ext01, syn_data, summaryvars = c("AVAL", "AVALCAT1"), prune_0 = FALSE, map = map)