Learn R Programming

hdnom (version 6.0.4)

penalized_survcurve: Survival curve prediction for penfit objects

Description

Derived from c060::predictProb.coxnet

Usage

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

Value

list containing predicted survival probabilities and linear predictors for all samples

Arguments

object

penalized model object

time

Survival time

event

Status indicator

x

Predictor matrix

survtime

Survival time to evaluate

Examples

Run this code
NULL

Run the code above in your browser using DataLab