ttet01_main {chevron} | R Documentation |
TTET01
Binary Outcomes Summary.
Description
TTET01
template may be used to summarize any binary outcome or response variable at
a single time point. Typical application for oncology
Usage
ttet01_main(
adam_db,
dataset = "adtte",
arm_var = "ARM",
ref_group = NULL,
summarize_event = TRUE,
perform_analysis = "unstrat",
strata = NULL,
...
)
ttet01_pre(adam_db, dataset = "adtte", ...)
ttet01_post(tlg, prune_0 = TRUE, ...)
ttet01
Arguments
adam_db |
( |
dataset |
( |
arm_var |
( |
ref_group |
( |
summarize_event |
( |
perform_analysis |
( |
strata |
( |
... |
Further arguments passed to |
tlg |
( |
prune_0 |
( |
Format
An object of class chevron_t
of length 1.
Details
No overall value.
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
-
ttet01_main()
: Main TLG function -
ttet01_pre()
: Preprocessing -
ttet01_post()
: Postprocessing
Examples
library(dplyr)
library(dunlin)
proc_data <- log_filter(syn_data, PARAMCD == "PFS", "adtte")
run(ttet01, proc_data)
run(ttet01, proc_data,
summarize_event = FALSE, perform_analysis = c("unstrat", "strat"),
strata = c("STRATA1", "STRATA2"),
conf_type = "log-log",
time_point = c(6, 12),
method = "both"
)