predictProb.survfit.Rd
Extracts predicted survival probabilities for survival models fitted by survfit
, providing an interface as required by pmpec
.
# S3 method for survfit predictProb(object, response, x, times, train.data, ...)
object | a fitted model of class |
---|---|
response | survival object (with |
x |
|
times | vector of evaluation time points. |
train.data | not used. |
... | additional arguments, currently not used. |
Matrix with probabilities for each evaluation time point in times
(columns) and each new observation (rows).