kmg01_main {chevron} | R Documentation |
KMG01
Kaplan-Meier Plot 1.
Description
KMG01
Kaplan-Meier Plot 1.
Usage
kmg01_main(
adam_db,
dataset = "adtte",
arm_var = "ARM",
strata = NULL,
strat = lifecycle::deprecated(),
...
)
kmg01_pre(adam_db, dataset = "adtte", ...)
kmg01
Arguments
Format
An object of class chevron_g
of length 1.
Details
No overall value.
Value
the main function returns a gTree
object.
a gTree
object.
the preprocessing function returns a list
of data.frame
.
Functions
-
kmg01_main()
: Main TLG Function -
kmg01_pre()
: Preprocessing
Note
-
adam_db
object must contain the table specified bydataset
with the columns specified byarm_var
.
Examples
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)
[Package chevron version 0.2.6 Index]