| fstg02_main {chevron} | R Documentation |
FSTG02 Subgroup Analysis of Survival Duration.
Description
The template produces the subgroup analysis of survival duration graphic.
Usage
fstg02_main(
adam_db,
dataset = "adtte",
arm_var = "ARM",
subgroups = c("SEX", "AGEGR1", "RACE"),
strata_var = NULL,
stat_var = c("n_tot", "n", "median", "hr", "ci"),
...
)
fstg02_pre(adam_db, ...)
fstg02
Arguments
adam_db |
( |
dataset |
( |
arm_var |
( |
subgroups |
( |
strata_var |
( |
stat_var |
( |
... |
Further arguments passed to |
Format
An object of class chevron_g of length 1.
Details
No overall value.
Keep zero count rows by default.
Value
the main function returns a gTree object.
a gTree object.
the preprocessing function returns a list of data.frame.
Functions
-
fstg02_main(): Main TLG Function -
fstg02_pre(): Preprocessing
Note
-
adam_dbobject must contain the table specified bydatasetwith"PARAMCD","ARM","AVAL","AVALU","CNSR", and the columns specified bysubgroupswhich is denoted asc("SEX", "AGEGR1", "RACE")by default. If the plot is too large to be rendered in the output, please refer to
FSTG01.
Examples
library(dplyr)
library(dunlin)
proc_data <- log_filter(
syn_data,
PARAMCD == "OS" & ARM %in% c("A: Drug X", "B: Placebo"), "adtte"
)
run(fstg02, proc_data,
subgroups = c("SEX", "AGEGR1", "RACE"),
conf_level = 0.90, dataset = "adtte"
)