Skip to contents

Fits Cox models for two subgroups defined by treatment recommendation.

Usage

fit_cox_models(df, formula)

Arguments

df

Data frame.

formula

Cox model formula.

Value

List with HR and SE for each subgroup.