ncvreg_survcurve function

Survival curve prediction for ncvreg objects

Survival curve prediction for ncvreg objects

Derived from c060::predictProb.coxnet

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

Arguments

  • object: ncvreg model object
  • time: Survival time
  • event: Status indicator
  • x: Predictor matrix
  • survtime: Survival time to evaluate

Returns

list containing predicted survival probabilities and linear predictors for all samples

Examples

NULL
  • Maintainer: Nan Xiao
  • License: GPL-3 | file LICENSE
  • Last published: 2024-09-05