dtht01_main {chevron} | R Documentation |
DTHT01
Table 1 (Default) Death Table.
Description
A description of the causes of death optionally with the breakdown of the
OTHER
category and/or post-study reporting of death.
Usage
dtht01_main(
adam_db,
arm_var = "ACTARM",
lbl_overall = NULL,
other_category = FALSE,
time_since_last_dose = FALSE,
...
)
dtht01_pre(adam_db, ...)
dtht01_post(tlg, prune_0 = TRUE, ...)
dtht01
Arguments
adam_db |
( |
arm_var |
( |
lbl_overall |
( |
other_category |
( |
time_since_last_dose |
( |
... |
not used. |
tlg |
( |
prune_0 |
( |
Format
An object of class chevron_t
of length 1.
Details
Numbers represent absolute numbers of subjects and fraction of
N
, or absolute numbers when specified.Remove zero-count rows unless overridden with
prune_0 = FALSE
.Does not 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
-
dtht01_main()
: Main TLG function -
dtht01_pre()
: Preprocessing -
dtht01_post()
: Postprocessing
Note
-
adam_db
object must contain anadsl
table with the columns"DTHFL"
,"DTHCAT"
as well asLDDTHGR1
iftime_since_last_dose
isTRUE
.
Examples
run(dtht01, syn_data)
run(dtht01, syn_data, other_category = TRUE, time_since_last_dose = TRUE)