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

adam_db

(list of data.frames) object containing the ADaM datasets

dataset

(string) the name of a table in the adam_db object.

arm_var

(string) variable used for column splitting

strata

(character) the variable name of stratification variables.

strat

(character) [Deprecated]; for backwards compatibility only. Use strata instead.

...

Further arguments passed to g_km and control_coxph. For details, see the documentation in tern. Commonly used arguments include col, pval_method, ties, conf_level, conf_type, annot_coxph, annot_stats, etc.

Format

An object of class chevron_g of length 1.

Details

Value

the main function returns a gTree object.

a gTree object.

the preprocessing function returns a list of data.frame.

Functions

Note

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]