Description Usage Arguments Value
Predict hazard, cumulative hazard or survival probability
1 2 3 4 5 6 7 8 |
object |
An object of class |
newdata |
A data set containing the same covariates as used for model
fitting. If of class |
type |
The type of prediction desired. Either hazard ( |
times |
A vector of times for which predictions should be generated |
A matrix of predictions containing one row per
observation (row in newdata) and 1 column per specified time in the
times
argument.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.