auc {Daim}R Documentation

The area under the ROC curve (AUC)

Description

This function computs the area under an ROC curve.

Usage

## S3 method for class 'numeric':
auc(x, y, ...)

Arguments

x sensitivity.
y specificity.
... additional parameters.

Value

a scalar number

See Also

auc.Daim, roc.area.Daim, Daim

Examples


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

  ####
  #### compute the .632+ estimation of the AUC.
  ####

  auc(perform$roc$sens632p,perform$roc$spec632p)


[Package Daim version 1.0.0 Index]