dmt01_main {chevron} | R Documentation |
DMT01
Table 1 (Default) Demographics and Baseline Characteristics Table 1.
Description
For each variable, summary statistics are
by default based on the number of patients in the corresponding n
row.
Usage
dmt01_main(
adam_db,
arm_var = "ARM",
lbl_overall = "All {Patient_label}",
summaryvars = c("AAGE", "AGEGR1", "SEX", "ETHNIC", "RACE"),
stats = list(default = c("n", "mean_sd", "median", "range", "count_fraction")),
precision = list(),
...
)
dmt01_pre(adam_db, ...)
dmt01_post(tlg, prune_0 = TRUE, ...)
dmt01
Arguments
adam_db |
( |
arm_var |
( |
lbl_overall |
( |
summaryvars |
( |
stats |
(named |
precision |
(named |
... |
not used. |
tlg |
( |
prune_0 |
( |
Format
An object of class chevron_t
of length 1.
Details
Information from
ADSUB
are generally included intoADSL
before analysis.Default demographic and characteristics table
If not specified otherwise, numbers represent absolute numbers of patients and fraction of
N
Remove zero-count rows
Split columns by arm (planned or actual / code or description)
Include a total column by default
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
-
dmt01_main()
: Main TLG function -
dmt01_pre()
: Preprocessing -
dmt01_post()
: Postprocessing
Note
-
adam_db
object must contain anadsl
table with the columns specified insummaryvars
.
Examples
run(dmt01, syn_data)