evaluateAUC | R Documentation |
Computes the AUC of a model
evaluateAUC(score, y, sign = ">")
score: |
the ^y score of the model |
y: |
the response vector |
sign: |
in which direction to make the comparison? "auto" (default): automatically define in which group the median is higher and take the direction accordingly. ">": if the predictor values for the control group are higher than the values of the case group (controls > t >= cases). "<": if the predictor values for the control group are lower or equal than the values of the case group (controls < t <= cases). |
an auc value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.