Find optimal cutoff (for the trade-off Sensitivity/specificity)

opt.cut(perf)

Arguments

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)

Value

cut.ind : the index of the optimal cut