SnsPlsSpcMax: maxSSS threshold

Description Usage Arguments Value Author(s) References

Description

Gets HSI threshold that maximizes sum of sensitivity and specificity.

Usage

1
SnsPlsSpcMax(Obs, HSI)

Arguments

Obs

A binary vector with 0 indicating absence and 1 indicating presence with length = length(HSI).

HSI

A numeric vector with range 0 < HSI < 1 of length = length(Obs).

Value

HSI_thrshld

Threshold that maximizes sum of sensitivity and specificity.

sensitivity

Sensitivity at maxSSS threshold.

specificity

Specificity at maxSSS threshold.

Author(s)

Quresh Latif

References

Liu, C., G. Newell, and M. White. 2016. On the selection of thresholds for predicting species occurrence with presence-only data. Ecology and Evolution 6:337-348.


qureshlatif/WoodpeckerHSI documentation built on May 29, 2019, 7:51 a.m.