Find optimal cutoff (for the trade-off Sensitivity/specificity)
opt.cut(perf)
perf | an S4 object of class performance with elements to create the ROC curve (y.values: True positive rate, x.values: False positive rate and alpha.value: the threshold) |
---|
cut.ind : the index of the optimal cut