View source: R/cox_regression-predict.R
predict.cox_regression | R Documentation |
cox_regression
Predict from a cox_regression
## S3 method for class 'cox_regression' predict(object, new_data, type = "numeric", ...)
object |
A |
new_data |
A data frame or matrix of new predictors. |
type |
A single character. The type of predictions to generate. Valid options are:
|
... |
Not used, but required for extensibility. |
A tibble of predictions. The number of rows in the tibble is guaranteed
to be the same as the number of rows in new_data
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.