ncvreg_basesurv: Breslow baseline hazard estimator for ncvreg objects
Description
Derived from peperr:::basesurv
and gbm::basehaz.gbm
.
Usage
ncvreg_basesurv(time, event, lp, times.eval = NULL, centered = FALSE)
Value
list containing cumulative base hazard
Arguments
- time
Survival time
- event
Status indicator
- lp
Linear predictors
- times.eval
Survival time to evaluate
- centered
Should we center the survival curve?
See basehaz
for details.