Description Usage Arguments Details Value Examples
Generate predictions for a fitted Cox model
1 2 |
model |
A |
newdata |
A dataframe of values to generate predictions for. |
type |
The type of prediction to make: "median" | "expected" | "survival" |
The types of prediction are:
The median survival times given the predictors
The expected number of events at the event time
The estimated survival probability at the event time
A vector of predictions for the new data
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.