| ext01_main | R Documentation |
EXT01 Exposure Summary Table.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.
ext01_main(
adam_db,
arm_var = "ACTARM",
lbl_overall = NULL,
summaryvars = "AVAL",
row_split_var = "PARCAT2",
page_var = NULL,
map = NULL,
stats = list(default = c("n", "mean_sd", "median", "range", "count_fraction")),
precision = list(default = 0),
...
)
ext01_pre(adam_db, ...)
ext01_post(tlg, prune_0 = TRUE, ...)
ext01
adam_db |
( |
arm_var |
( |
lbl_overall |
( |
summaryvars |
( |
row_split_var |
( |
page_var |
( |
map |
( |
stats |
(named |
precision |
(named |
... |
not used. |
tlg |
( |
prune_0 |
( |
An object of class chevron_t of length 1.
Default Exposure table
The n row provides the number of non-missing values. The percentages for categorical variables is based on n.
The percentages for ā Total number of patients with at least one dose modificationā are based on the number of
patients in the corresponding analysis population given by N.
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.
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).
ext01_main(): Main TLG function
ext01_pre(): Preprocessing
ext01_post(): Postprocessing
adam_db object must contain an adex table with columns specified in summaryvars.
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,
precision = list(TDOSE = 4, default = 4),
stats = list(TDURD = "n", default = c("n", "count_fraction"))
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.