kuenm_aicc | R Documentation |
kuenm_aicc calculates the Akaike information criterion corrected for small sample sizes (AICc) for single or multiple models produced with Maxent.
kuenm_aicc(occ, model, npar)
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. |
model |
a RasterLayer or RasterStack of model projections created using Maxent with raw outputs. |
npar |
(numeric) number of parameters for |
Calculations are done following Warren and Seifert (2011).
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.
aicc
for results obtained using the SWD format.
data("sp_joint", package = "kuenm")
model <- raster::raster(system.file("extdata/sp_model_joint.tif",
package = "kuenm"))
lbds <- readLines(system.file("extdata/lambdas_model_joint.lambdas",
package = "kuenm"))
npar <- n_par(lbds) # counting number of parameters
aicc <- kuenm_aicc(occ = sp_joint, model = model, npar = npar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.