predictProb.penfit: Predicted survival probabilities for penalized Cox models

View source: R/predictProb.penfit.R

predictProb.penfitR Documentation

Predicted survival probabilities for penalized Cox models

Description

Extracts survival probabilities from a penfit survival model for use in pmpec.

Usage

## S3 method for class 'penfit'
predictProb(object, response, x, times, complexity = NULL, ...)

Arguments

object

a fitted penfit object.

response

survival response, passed for consistency with the predictProb interface.

x

new covariate matrix.

times

evaluation times.

complexity

unused for fitted penfit objects; included for interface compatibility.

...

additional arguments passed to the penalized prediction method.

Value

Matrix of survival probabilities with one row per observation and one column per evaluation time.

See Also

predictProb, fit.penalized, PLL.penfit


peperr documentation built on March 25, 2026, 9:06 a.m.