rspt01_main | R Documentation |
RSPT01
Binary Outcomes Summary.RSPT01
template may be used to summarize any binary outcome or response variable at
a single time point. Typical application for oncology
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
adam_db |
( |
dataset |
( |
arm_var |
( |
ref_group |
( |
odds_ratio |
( |
perform_analysis |
( |
strata |
( |
conf_level |
( |
methods |
( |
... |
not used. |
tlg |
( |
prune_0 |
( |
An object of class chevron_t
of length 1.
No overall 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).
rspt01_main()
: Main TLG function
rspt01_pre()
: Preprocessing
rspt01_post()
: Postprocessing
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")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.