
A wrapper for survival times with coxnet models
Source:R/proportional_hazards-glmnet.R
survival_time_coxnet.RdA wrapper for survival times with coxnet models
Arguments
- object
A parsnip
model_fitobject 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().