Learn R Programming

SAME (version 0.1.0)

conduct.phase2: Function to identify the most promising treatment-biomarker-linked subgroup

Description

This function is used to estimate the effect size of each subgroup and to select the most promising subgroup.

Usage

conduct.phase2(formula, surv, event, data)

Value

conduct.phase2() select the most effective subgroup and returns the estimated hazard ratio.

Arguments

formula

a formula object, with the combinations of treatment and biomarker term, e.g., formula = "T1:B1+T1:B2+T2:B1+T2:B2"

surv

survival time

event

the status indicator, 0=alive, 1=dead

data

a data.frame in which to interpret the variables named in the formula

Examples

Run this code
conduct.phase2(formula = "T1:B1+T1:B2+T2:B1+T2:B2", surv = "surv",
event = "death", data = "example.1")


Run the code above in your browser using DataLab