Learn R Programming

Daim (version 1.1.0)

auc.Daim: The area under the ROC curve (AUC)

Description

This function computes the area under an ROC curve for Daim-class objects.

Usage

"auc"(x, ...)

Arguments

x
an object of class Daim-class.
...
additional parameters.

Value

auc.632p
the 0.632+ estimation of the AUC.
auc.632
the 0.632 estimation of the AUC.
auc.loob
the LOOB estimation of the AUC.
auc.app
the apparent estimation of the AUC.
auc.samples
the AUC values for each bootstap sample.

See Also

auc.numeric, Daim, plot.Daim, performDaim

Examples

Run this code

  data(Daim.data1)
  perform <- performDaim(Daim.data1$prob.oob, Daim.data1$labels,
                         Daim.data1$prob.app)

  auc(perform)
  roc.area(perform)

Run the code above in your browser using DataLab