Learn R Programming

ENMeval version 2.0.4

R package for automated tuning and evaluations of ecological niche models

NOTE: ENMeval is a work in progress, changing slowly to fix bugs when users identify them. If you find a bug, please raise an Issue in this Github repo and I will resolve it as soon as I can. The CRAN version may lag behind the Github one, so please try the development version here first if you are having any issues. Install with: devtools::install_packages("jamiemkass/ENMeval")

ENMeval is an R package that performs automated tuning and evaluations of ecological niche models and species distribution models. Version >=2.0.0 represents an extensive restructure and expansion of version 0.3.1, and has many new features, including customizable specification of algorithms besides Maxent using the new ENMdetails object, comprehensive metadata output, null model evaluations, new visualization tools, a completely updated and extensive vignette with a complete analysis walkthrough, and more flexibility for different analyses and data types. Many of these new features were created in response to user requests -- thank you for your input!

ENMeval >=2.0.0 includes the functionality to specify any algorithm of choice, but comes out of the box with two implementations of Maxent: maxnet (Phillips et al. 2017) from the maxnet R package and the Java software maxent.jar (Phillips et al. 2006), available here, as well as BIOCLIM implemented with the dismo R package.

Model tuning refers to the process of building models with varying complexity settings, then choosing optimal settings based on some criteria. As it is difficult to predict in advance what level of complexity best fits your data and results in the most ecologically realistic response for your species, model tuning and evaluations are essential for ENM studies. This process helps researchers maximize predictive ability and avoid overfitting with models that are too complex.

For a more detailed description of version >=2.0.0, please reference the new publication in Methods in Ecology and Evolution:

Kass, J. M., Muscarella, R., Galante, P. J., Bohl, C., Pinilla-Buitrago, G. E., Boria, R. A., Soley-Guardia, M., & Anderson, R. P. (2021). ENMeval 2.0: redesigned for customizable and reproducible modeling of species’ niches and distributions. Methods in Ecology and Evolution, 12: 1602-1608.

For the original package version, please reference the 2014 publication in Methods in Ecology and Evolution:

Muscarella, R., Galante, P. J., Soley-Guardia, M., Boria, R. A., Kass, J. M., Uriarte, M. and Anderson, R. P. (2014), ENMeval: An R package for conducting spatially independent evaluations and estimating optimal model complexity for Maxent ecological niche models. Methods in Ecology and Evolution, 5: 1198–1205.

NOTES:

  1. The vignette is not included in the CRAN version of the package due to file size constraints, but is available on the package's Github Pages website.

  2. Please make sure to use the most recent version of maxent.jar (currently 3.4.4), as recent bug fixes were made.

  3. Note that as of version 0.3.0, the default implementation uses the 'maxnet' R package. The output from this differs from that of the original Java program and so some features are not compatible (e.g., variable importance, html output).

Copy Link

Version

Install

install.packages('ENMeval')

Monthly Downloads

2,312

Version

2.0.4

License

GPL

Maintainer

Last Published

January 9th, 2023

Functions in ENMeval (2.0.4)

aic.maxent

Calculate AICc from Maxent model prediction
ENMevaluation_convert

Convert old ENMevaluation objects to new ones
ENMdetails-class

ENMdetails class
ENMnulls

Generate null ecological niche models (ENMs) and compare null with empirical performance metrics
bvariegatus

Example occurrence dataset.
buildRMM

Build metadata object from ENMeval results
ENMnull-class

ENMnull class
ENMeval-package

Automated runs and evaluations of ecological niche models
ENMevaluation-class

ENMevaluation class
ENMevaluate

Tune ecological niche model (ENM) settings and calculate evaluation statistics
enm.args

enm.args generic for ENMdetails object
corrected.var

Corrected variance function
clamp.vars

Clamp predictor variables
calc.10p.trainThresh

Calculate 10 percentile threshold
emp.bg

emp.bg generic for ENMnull object
calc.niche.overlap

Calculate Similarity of ENMs in Geographic Space
emp.bg.grp

emp.bg.grp generic for ENMnull object
enm.predict

enm.predict generic for ENMdetails object
enm.ncoefs

enm.ncoefs generic for ENMdetails object
enm.errors

enm.errors generic for ENMdetails object
enm.fun

enm.fun generic for ENMdetails object
enm.bioclim

ENMdetails bioclim
eval.bg.grp

eval.bg.grp generic for ENMevaluation object
enm.maxent.jar

ENMdetails maxent.jar
enm.variable.importance

enm.variable.importance generic for ENMdetails object
emp.occs.grp

emp.occs.grp generic for ENMnull object
emp.occs

emp.occs generic for ENMnull object
eval.other.settings

eval.other.settings generic for ENMevaluation object
eval.occs.testing

eval.occs.testing generic for ENMevaluation object
eval.partition.method

eval.partition.method generic for ENMevaluation object
eval.rmm

eval.rmm generic for ENMevaluation object
eval.clamp.directions

eval.clamp.directions generic for ENMevaluation object
enm.maxnet

ENMdetails maxnet
enm.msgs

enm.msgs generic for ENMdetails object
eval.overlap

eval.overlap generic for ENMevaluation object
enmeval_results

Example ENMevaluation object.
eval.models

eval.models generic for ENMevaluation object
eval.doClamp

eval.doClamp generic for ENMevaluation object
eval.results.partitions

eval.results.partitions generic for ENMevaluation object
eval.bg

eval.bg generic for ENMevaluation object
eval.algorithm

eval.algorithm generic for ENMevaluation object
eval.results

eval.results generic for ENMevaluation object
evalplot.grps

Partition group plots
evalplot.nulls

ENMnulls statistics plot
eval.taxon.name

eval.taxon.name generic for ENMevaluation object
evalplot.stats

ENMevaluation statistics plot
lookup.enm

Look up ENMdetails abject
null.emp.results

null.emp.results generic for ENMnull object
null.doClamp

null.doClamp generic for ENMnull object
null.results.partitions

null.results.partitions generic for ENMnull object
partitions

Methods to partition data for evaluation
eval.partition.settings

eval.partition.settings generic for ENMevaluation object
eval.predictions

eval.predictions generic for ENMevaluation object
%>%

Pipe operator
rasStackNAs

Find NA cells in a RasterStack
null.no.iter

null.no.iter generic for ENMnull object
null.mod.settings

null.mod.settings generic for ENMnull object
eval.occs.grp

eval.occs.grp generic for ENMevaluation object
enm.name

eval.name generic for ENMdetails object
eval.occs

eval.occs generic for ENMevaluation object
eval.tune.settings

eval.tune.settings generic for ENMevaluation object
similarity

Calculate Multivariate Environmental Similarity
tune.enm

Iterate tuning of ENMs
null.results

null.results generic for ENMnull object
eval.variable.importance

eval.variable.importance (variable importance) generic for ENMevaluation object
maxentJARversion

Look up version of maxent.jar
null.other.settings

null.other.settings generic for ENMnull object
null.algorithm

null.algorithm generic for ENMnull object
null.partition.settings

null.partition.settings generic for ENMnull object
evalplot.envSim.hist

Similarity histogram plots for partition groups
evalplot.envSim.map

Similarity maps for partition groups
null.partition.method

null.partition.method generic for ENMnull object