Description Usage Arguments Value
View source: R/predictCoxTBF.R
Predicts survival probabilities at given times. Compatible with predictSurvProb functions
required by pec
package.
1 2 |
object |
a model fitted with |
newdata |
a dataframe with the same variables as the original data used to fit the object |
times |
a vector of times to predict survival probability for |
... |
not used. |
A data frame of survival probabilities with rows for each row of newdata and columns for each time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.