thselect.vmetric function

Metric-based threshold selection