auc_vector: Compute AUC values ala presence-only data

View source: R/auc.R

auc_vectorR Documentation

Compute AUC values ala presence-only data

Description

Compute AUC values ala presence-only data

Usage

auc_vector(f, v, thr = seq(from = 1, to = 0, by = -0.001), method = "fast")

Arguments

f

a vector of forecasted ranked suitability values, NaNs and NAs will be removed

v

a vector of forecasted values where there are presences, NaNs and NAs will be removed

thr

a vector of threshold values

method

character, if 'fast' (the default) use the fast implementation

Value

a list of

  • fpa, a vector of fpa (fractional predicted area)

  • sensitive, a vector of sensitivity (1-omission rate)

  • area, AUC


BigelowLab/dismotools documentation built on Jan. 4, 2023, 11:24 a.m.