auc.xy.numeric {SLmetrics}R Documentation

Area under the curve

Description

Area under the curve

Usage

## S3 method for class 'numeric'
auc.xy(y, x, method = 0L, presorted = TRUE, ...)

Arguments

y, x

A pair of <double> vectors of length n.

method

A <integer> value (default: 0). Defines the underlying method of calculating the area under the curve. If 0 it is calculated using the trapezoid-method, if 1 it is calculated using the step-method.

presorted

A <logical>-value length 1 (default: FALSE). If TRUE the input will not be sorted by threshold.

...

Arguments passed into other methods.


[Package SLmetrics version 0.3-4 Index]