View source: R/psychopdaroc_utilities.R
computeNRI | R Documentation |
Compute Net Reclassification Index (NRI)
computeNRI(new_values, ref_values, actual, direction = ">=", thresholds = NULL)
new_values |
Test values for new test |
ref_values |
Test values for reference test |
actual |
Binary outcome vector (0/1) |
direction |
Classification direction |
thresholds |
Risk category thresholds (NULL for continuous NRI) |
List containing NRI components
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.