Function for calculating the false alarm rate.
far(x, ref, th)
x
a data.table generated by fldmean
fldmean
ref
a data.table with data used for evaluation
th
numeric. The value for detection threshold
numeric