Please read the vignette.
Or, after installation, the help page:
help("HandTill2001-package", package = "HandTill2001")
#> Multiple Class Area under ROC Curve
#>
#> Description:
#>
#> A very lean package implementing merely M given by Hand and Till
#> (2001), Eq. (7).
#>
#> Details:
#>
#> M given by Hand and Till (2001) defines a multiple class version
#> of the area under curve of the receiver operating characteristic.
#>
#> Author(s):
#>
#> *Maintainer*: Andreas Dominik Cullmann
#> <mailto:fvafrcu@mailbox.org>
#>
#> See Also:
#>
#> 'help(package="HandTill2001")', especially '?HandTill2001::auc';
#> various packages that calculate binary class AUC ('ROCR') or
#> multiple class AUC (pROC, 'caTools').
#>
#> Examples:
#>
#> library(HandTill2001)
#> data(ht01.multipleclass)
#> auc(
#> multcap(
#> response = ht01.multipleclass$observed,
#> predicted = as.matrix(ht01.multipleclass[, levels(ht01.multipleclass$observed)])
#> )
#> )
#>
You can install HandTill2001 from gitlab via:
if (! require("remotes")) install.packages("remotes")
remotes::install_gitlab("fvafrCU/HandTill2001")