a matrix or data frame containing the predictions.
labels
a vector containing the true class labels. It can be a factor or character vector.
prediction
a vector containing the prediction probability obtained by a model: see Daim.
thres
a numeric vector with the cutoff values.
cutoff
the cutoff value for error estimation. This can be a numeric value or a character string.
If the cutoff set to:
"loob" - the optimal cut-point corresponding to loob estimation of the sensitivity and the specificity.
"0.632" - the optimal cut-point corresponding to 0.632 estimation of the sensitivity and the specificity.
"0.632+" - the optimal cut-point corresponding to 0.632+ estimation of the sensitivity and the specificity.
labpos
a character string of the variable labels that defines a "positive" event.