tdh_coxph.R

library(shellpipes)
library(survival)
library(splines)

loadEnvironments()

coxph_mod <- coxph(mod_form
	, data=train_df
	, method="breslow"
	, x=TRUE
)
print(coxph_mod)

saveVars(train_df
	, test_df
	, mod_form
	, coxph_mod
)
CYGUBICKO/glmnetpostsurv documentation built on Sept. 1, 2022, 7:26 p.m.