Breslow baseline hazard estimator for glmnet objects
Derived from peperr:::basesurv
and gbm::basehaz.gbm
.
glmnet_basesurv(time, event, lp, times.eval = NULL, centered = FALSE)
time
: Survival timeevent
: Status indicatorlp
: Linear predictorstimes.eval
: Survival time to evaluatecentered
: Should we center the survival curve? See basehaz
for details.list containing cumulative base hazard
NULL
Useful links