glmnet.basesurv: Breslow Baseline Hazard Estimator for glmnet Objects
Description
Derived from peperr:::basesurv
and gbm::basehaz.gbm
.
Usage
glmnet.basesurv(time, event, lp, times.eval = NULL, centered = FALSE)
Arguments
times.eval
Survival time to evaluate
centered
Should we center the survival curve?
See basehaz
for details.
Value
list containing cumulative base hazard