View source: R/selection.func.R
conduct.phase2 | R Documentation |
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)
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 |
conduct.phase2() select the most effective subgroup and returns the estimated hazard ratio.
conduct.phase2(formula = "T1:B1+T1:B2+T2:B1+T2:B2", surv = "surv", event = "death", data = "example.1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.