I recently came across pROC package to get AUC. In the help section, they give following example:
library("pROC")
data(aSAH)
auc(aSAH$outcome, aSAH$s100b)
In above, outcome is a factor whereas s100b is numerical.
My question is how does AUC work in this case? What threshold does it apply for s100b? Or it does not matter?
Edit 1
The above code results in AUC = 0.73. How do I know which threshold value was chosen to get this value?
