or: Omission rates calculation for Maxent SWD predictions

View source: R/SWD_analysis_helpers.R

orR Documentation

Omission rates calculation for Maxent SWD predictions

Description

or calculates omission rates of numerical projections of ecological niche models based on one or multiple user-specified thresholds.

Usage

or(prediction, occ.tra, occ.test, threshold = 5)

Arguments

prediction

matrix of longitude and latidue coordinates, and Maxent prediction obtained using the SWD format. Prediction coordinates must include the ones in occ.tra, and occ.test.

occ.tra

numerical matrix containing coordinates of the occurrence data used to create the prediction to be evaluated; columns must be: longitude and latitude.

occ.test

numerical matrix containing coordinates of the occurrences used to test the prediction to be evaluated; columns must be: longitude and latitude.

threshold

(numeric) vector of value(s) from 0 to 100 that will be used as thresholds, default = 5.

Value

A named numeric value or numeric vector with the result(s).


manubio13/ku.enm documentation built on Jan. 5, 2024, 5:55 a.m.