Learn R Programming

hdnom (version 5.0)

penalized.basesurv: Breslow Baseline Hazard Estimator for "penalized" Objects

Description

Derived from peperr:::basesurv and gbm::basehaz.gbm.

Usage

penalized.basesurv(time, event, lp, times.eval = NULL, centered = FALSE)

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.

Value

list containing cumulative base hazard

Examples

Run this code
# NOT RUN {
NULL
# }

Run the code above in your browser using DataLab