Skip to contents

Internal function to compute the AUC of binomial models within preference_order(). As it is build for speed, this function does not check the inputs.

Usage

performance_score_auc(o = NULL, p = NULL)

Arguments

o

(required, binomial vector) Binomial response with values 0 and 1. Default: NULL

p

(required, numeric vector) Predictions of binomial model. Default: NULL

Value

numeric: Area Under the ROC Curve

See also