| predict.r4vn_tabscore | R Documentation |
Predict scores and risk from an R4VN scorecard
## S3 method for class 'r4vn_tabscore'
predict(
object,
newdata,
type = c("all", "score", "risk", "group", "model", "model_lp", "model_score"),
times = NULL,
...
)
object |
A |
newdata |
New data containing all final scorecard predictors. |
type |
Output type: |
times |
Cox prediction horizon(s). Defaults to the horizons stored in the scorecard. |
... |
Reserved. |
A numeric vector, matrix, or data frame depending on type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.