# \donttest{
data_for_survival <- survival::lung
surv_estimated <- use_coxph_survival("status", data_for_survival, "sex",
covariates = c("ph.ecog"), "time")
plot_survival_cox_covariates(surv_estimated$fit,data_for_survival,
"status", covariates = c("ph.ecog"), "sex")
# }
Run the code above in your browser using DataLab