optim_thresh_kap_max: Find threshold that maximises Kappa
Description
This is an internal function returns the threshold to turn probabilities into
binary classes to maximise kappa
Usage
optim_thresh_kap_max(presences, absences)
Value
the probability threshold for the event
Arguments
- presences
Probabilities for presences.
- absences
Provabilities for absences