Description Usage Arguments Details Value
This function calculates the net benefit for a model
1 | extractNetBenefit(runPlp, type = NULL, modelId = NULL)
|
runPlp |
A object of class 'runPlp' returned by implementing runPlp() or the output when implementing an existing model |
Users need to input a trained model (the output of runPlp()) or the output of running an existing model
A data.frame containing the columns: pt, netbenefit, treatall and modelId. Pt is the probability treshold or a scaled risk score (if using an existing model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.