evaluateAUC: Computes the AUC of a model

View source: R/global.lib.R

evaluateAUCR Documentation

Computes the AUC of a model

Description

Computes the AUC of a model

Usage

evaluateAUC(score, y, sign = ">")

Arguments

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).

Value

an auc value


predomics/predomicspkg documentation built on Dec. 11, 2024, 11:06 a.m.