https://cran.r-project.org/web/packages/AUC/AUC.pdf
