aicc: AICc calculation of Maxent SWD predictions

View source: R/SWD_analysis_helpers.R

aiccR Documentation

AICc calculation of Maxent SWD predictions

Description

aicc calculates the Akaike information criterion corrected for small sample sizes (AICc) for predictions produced with Maxent.

Usage

aicc(occ, prediction, npar)

Arguments

occ

matrix or data.frame with coordinates of the occurrences used to create the model (raster) to be evaluated; columns must be: longitude and latitude.

prediction

matrix or data.frame of longitude and latitude coordinates, and Maxent Raw predictions obtained using the SWD format in Maxent. Coordinates in this prediction must include the ones in occ

npar

(numeric) number of parameters of the model. Use function n_par to obtain number of parameters in the model from the lambdas file.

Details

Calculations are done following Warren and Seifert (2011).

Value

A data.frame containing values of AICc, delta AICc, weight of AICc, and number of parameters. The number of rows of the data.frame corresponds to the number of models evaluated.


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