rspt01_main {chevron} | R Documentation |
RSPT01
Binary Outcomes Summary.
Description
RSPT01
template may be used to summarize any binary outcome or response variable at
a single time point. Typical application for oncology
Usage
rspt01_main(
adam_db,
dataset = "adrs",
arm_var = "ARM",
ref_group = NULL,
odds_ratio = TRUE,
perform_analysis = "unstrat",
strata = NULL,
conf_level = 0.95,
methods = list(),
...
)
rspt01_pre(adam_db, ...)
rspt01_post(tlg, prune_0 = TRUE, ...)
rspt01
Arguments
adam_db |
( |
dataset |
( |
arm_var |
( |
ref_group |
( |
odds_ratio |
( |
perform_analysis |
( |
strata |
( |
conf_level |
( |
methods |
( |
... |
not used. |
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
-
rspt01_main()
: Main TLG function -
rspt01_pre()
: Preprocessing -
rspt01_post()
: Postprocessing
Examples
library(dplyr)
library(dunlin)
proc_data <- log_filter(syn_data, PARAMCD == "BESRSPI", "adrs")
run(rspt01, proc_data)
run(rspt01, proc_data,
odds_ratio = FALSE, perform_analysis = c("unstrat", "strat"),
strata = c("STRATA1", "STRATA2"), methods = list(diff_pval_method = "fisher")
)