A wrapper for survival times with coxnet models
Source:R/proportional_hazards-glmnet.R
survival_time_coxnet.Rd
A wrapper for survival times with coxnet models
Arguments
- object
A parsnip
model_fit
object resulting from proportional_hazards() with engine = "glmnet".- new_data
Data for prediction.
- penalty
Penalty value(s).
- multi
Allow multiple penalty values?
- ...
Options to pass to
survival::survfit()
.