Automated Runs and Evaluations of Ecological Niche Models

Automatically partitions data into evaluation bins, executes ecological niche models across a range of settings, and calculates a variety of evaluation statistics. Current version only implements ENMs with Maxent (Phillips et al. 2006) or maxnet (Phillips et al. 2017).

CRAN version downloads R package for automated runs and evaluations of ecological niche models.

ENMeval is an R package that performs automated runs and evaluations of ecological niche models, and currently implements Maxent using the either (now by default) the 'maxnet' algoritm developed by Phillips et al. (2017) using the 'maxnet' R package or [the original java program ( ENMeval was made for those who want to "tune" their models to maximize predictive ability and avoid overfitting, or in other words, optimize model complexity to balance goodness-of-fit and predictive ability. The primary function, ENMevaluate, does all the heavy lifting and returns several items including a table of evaluation statistics and, for each setting combination, a model object and a raster layer showing the model prediction across the study extent. There are also options for calculating niche overlap between predictions, running in parallel to speed up computation, and more. For a more detailed description of the package, check out the open-access publication:

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.

Also see the vignette for examples of implementation.

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, the old html output). Our team has done some fairly extensive testing to ensure this implementation gives the expected results but the maxnet implementation is relatively new (at the time of writing this) and we encourage users to scrutinize their results.


ENMeval 0.3.0

o Changed the default behavior to use the 'maxnet' function of the 'maxnet' package instead of the 'maxent.jar' program, and removed the dependency on the 'rJava' package by default, among others. o Added an algorithm slot to the ENMevaluation object. o Added information on the aggregation factor(s) or number of k folds to the ENMevaluation object when relevant. o Corrected use of 'corrected.var' in the 'tuning' function. o Changed some column names in the @results table to be more intuitive and compatable with the R package, Wallace.

ENMeval 0.2.2

o Added a vignette. Type: vignette('ENMeval-vignette', package='ENMeval') o Added an option to pass additional arguments to maxent (e.g., prevalence) o Added a function to extract variable importance for maxent models o Fixed an inconsistency with the AICc columns of the results table when rasterPreds=F o Fixed potential errors in the partitioning methods functions when used independently o Added some progress bar options to increase compatibility with Wallace

ENMeval 0.2.1

o Fixed an error in the organization of results table when bin.output=T

ENMeval 0.2.0

o Fixed a bug that allowed only a single categorical variable; now multiple categorical variables work. o Added an option to run the tuning function in parallel. o Added a slot in ENMevaluation object class to hold Maxent model objects. This allows the user to access the lambda values and original results table generated by Maxent. o Added arguments in ENMevaluate function to turn off raster prediction generation to save time.

ENMeval 0.1.1

o This version corrects the calc.aicc function that, in version 0.1.0, could give erroneous results when used with multiple models simultaneously. AICc, delta.AICc, and w.AIC values calculated in v.0.1.0 are potentially flawed!

ENMeval 0.1.0

o This is the initial version of ENMeval. The main function is ENMeval::ENMevaluate().

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3.1 by Robert Muscarella, 7 months ago

Browse source code at

Authors: Robert Muscarella , Peter J. Galante , Mariano Soley-Guardia , Robert A. Boria , Jamie M. Kass , Maria Uriarte and Robert P. Anderson

Documentation:   PDF Manual  

GPL license

Imports doParallel, foreach, utils, graphics, stats, grDevices, raster, maxnet

Depends on methods, dismo

Suggests rJava, parallel, knitr, rmarkdown, spocc, maptools, rgeos, sp

Imported by ENMTools, biomod2, wallace.

Suggested by BiodiversityR, rangeModelMetadata.

See at CRAN