| kmg01_main | R Documentation |
KMG01 Kaplan-Meier Plot 1.KMG01 Kaplan-Meier Plot 1.
kmg01_main(
adam_db,
dataset = "adtte",
arm_var = "ARM",
strata = NULL,
strat = lifecycle::deprecated(),
...
)
kmg01_pre(adam_db, dataset = "adtte", ...)
kmg01
An object of class chevron_g of length 1.
No overall value.
the main function returns a gTree object.
a gTree object.
the preprocessing function returns a list of data.frame.
kmg01_main(): Main TLG Function
kmg01_pre(): Preprocessing
adam_db object must contain the table specified by dataset with the columns specified by arm_var.
library(dplyr)
library(dunlin)
col <- c(
"A: Drug X" = "black",
"B: Placebo" = "blue",
"C: Combination" = "gray"
)
pre_data <- log_filter(syn_data, PARAMCD == "OS", "adtte")
run(kmg01, pre_data, dataset = "adtte", col = col)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.