glmnet_survcurve: Survival curve prediction for glmnet objects
Description
Derived from c060::predictProb.coxnet
Usage
glmnet_survcurve(object, time, event, x, survtime)
Value
list containing predicted survival probabilities and
linear predictors for all samples
Arguments
- object
glmnet
model object
- time
Survival time
- event
Status indicator
- x
Predictor matrix
- survtime
Survival time to evaluate