AUC {structToolbox} | R Documentation

## Area under ROC

### Description

Area under ROC calculated by approximating the curve as a series of trapeziums. Only suitable for 2 classes.

### Usage

    AUC(...)

### Arguments

`...` | additional slots and values passed to struct_class

### Value

A metric object with methods for calculating AUC

struct object

### Examples

    D = iris_DatasetExperiment()
    XCV = kfold_xval(folds=5,factor_name='Species') *
          (mean_centre() + PLSDA(number_components=2,factor_name='Species'))
    MET = AUC()
    XCV = run(XCV,D,MET)

[Package structToolbox version 0.99.8 Index]