Description Usage Arguments Details Value
This function calculates the net reclassification improvement (NRI) metric comparing two models at a range of predicting tresholds
1 2 3 4 5 6 |
plpModel1 |
The object returned by runPlp() containing the trained model or the output when implementing an existing model |
plpModel2 |
The object returned by runPlp() containing the trained model or the output when implementing an existing model |
thresholds |
A sequence of predicting tresholds to calcuate the NRI at each of these tresholds |
secondThresholds |
A sequence of predicting tresholds to calcuate the NRI at each of these tresholds for the second model (if NULL uses thresholds) |
Users need to input a trained model (the output of runPlp()) or the output of running an existing model
A list containing the NRI value and z-value (can be used for statistical significance) plus various values used to calculate the NRI for each thresold. A positive value suggests the first model is better than the second model. A negative values suggests the opposite.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.