View source: R/EvaluateReclassification.R
Calculates the NRI.
1 2 | EvaluateReclassification(current.model.predictions, new.model.predictions,
outcome.vector, reverse = FALSE)
|
current.model.predictions |
Numeric vector. The risk groups that the current model predicted for subjects. No default. |
new.model.predictions |
Numeric vector. The risk groups that the new model predicted for subjects. No default. |
outcome.vector |
Numeric vector. The outcome of the subjects. No default. |
reverse |
Logical. If TRUE model risk group levels are reversed, i.e. levels 1,2,3,4 are reversed to 4,3,2,1 - respectively. Defaults to FALSE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.