AUROC: Get AUROC

View source: R/get_AUC.R

AUROCR Documentation

Get AUROC

Description

Get AUROC

Usage

AUROC(r, df, th = 10^seq(-3, 0, length.out = 25), plot = TRUE)

Arguments

r

raster with binary predictions.

df

data.frame with locations (long, lat) and observed value (0, 1).

th

threshold to apply to binarize suitability.

plot

TRUE/FALSE, do you want to plot the AUROC curve?


emilio-berti/monkeytools documentation built on April 15, 2022, 8:14 a.m.