glmnet_survcurve {hdnom}R Documentation

Survival curve prediction for glmnet objects

Description

Derived from c060::predictProb.coxnet

Usage

glmnet_survcurve(object, time, event, x, survtime)

Arguments

object

glmnet model object

time

Survival time

event

Status indicator

x

Predictor matrix

survtime

Survival time to evaluate

Value

list containing predicted survival probabilities and linear predictors for all samples

Examples

NULL

[Package hdnom version 6.0.3 Index]