powered by
This function is used to estimate the effect size of each subgroup and to select the most promising subgroup.
conduct.phase2(formula, surv, event, data)
conduct.phase2() select the most effective subgroup and returns the estimated hazard ratio.
a formula object, with the combinations of treatment and biomarker term, e.g., formula = "T1:B1+T1:B2+T2:B1+T2:B2"
survival time
the status indicator, 0=alive, 1=dead
a data.frame in which to interpret the variables named in the formula
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