predictProb.coxph | R Documentation |
Extracts predicted survival probabilities for survival models fitted by Cox proportional hazards model, providing an interface as required by pmpec
.
## S3 method for class 'coxph'
predictProb(object, response, x, times, ...)
object |
a fitted model of class |
response |
survival object (with |
x |
|
times |
vector of evaluation time points. |
... |
additional arguments, currently not used. |
Matrix with probabilities for each evaluation time point in times
(columns) and each new observation (rows).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.