auc_vector_fast | R Documentation |
This function gains speed using Rfast::Sort()
and base::findInterval()
auc_vector_fast(f, v, thr = seq(from = 1, to = 0, by = -0.001))
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 |
a list of
fpa, a vector of fpa (fractional predicted area)
sensitive, a vector of sensitivity (1-omission rate)
area, AUC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.