R-Forge Logo

Welcome to modEvA project!

modEvA is an R package for species distribution model evaluation and analysis.

It includes functions for variation partitioning; calculating several measures of model discrimination, classification, explanatory power, and calibration; optimizing prediction thresholds based on a number of criteria; performing multivariate environmental similarity surface (MESS) analysis; and displaying various analytical plots. It includes also a sample data set with some species distribution models.

Package modEvA (v1.3.2) is on CRAN!

Install and load

To install the currently stable version of modEvA from CRAN, paste the following command in the R console (while connected to the internet):


To install a developing version (with new features, but possibly also new bugs) of modEvA from R-Forge, paste the following command in the R console (while connected to the internet):

install.packages("modEvA", repos="http://R-Forge.R-project.org")

This should work if you have the latest version of R; otherwise, it may either fail (producing a message like "package 'modEvA' is not available for your R version") or install an older version of modEvA. To check the modEvA version that you have actually installed, type citation(package="modEvA"). To install the latest modEvA version, you can either upgrade R or download the compressed modEvA package source files to your disk (.tar.gz for Linux/Mac or .zip for Windows, available here or here) and then install the package from there, e.g. with R menu "Packages - Install packages from local zip files" (Windows), or "Packages & Data - Package installer, Packages repository - Local source package" (Mac), or "Tools - Install packages - Install from: Package Archive File" (RStudio).

You only need to install (each version of) the package once, but then every time you re-open R you need to load the package by typing:


You can then check out the package help files and try some of the provided examples:



Papers introducing modEvA:

Barbosa A.M., Real R., Muñoz A.R. & Brown J.A. (2013) New measures for assessing model equilibrium and prediction mismatch in species distribution models. Diversity and Distributions 19: 1333-1338 (DOI: 10.1111/ddi.12100)

Areias-Guerreiro J., Mira A. & Barbosa A.M. (2016) How well can models predict changes in species distributions? A 13-year-old otter model revisited. Hystrix – Italian Journal of Mammalogy, 27(1). DOI: https://doi.org/10.4404/hystrix-27.1-11867

Barbosa A.M., Brown J.A., Acevedo P., Lobo J.M. & Real R. (in prep.) The ABC of model evaluation: a visual method for a clearer assessment of model accuracy

Other papers using modEvA (excluding self-citations):

Coelho L., Romero D., Queirolo D. & Guerrero J.C. (2018) Understanding factors affecting the distribution of the maned wolf (Chrysocyon brachyurus) in South America: Spatial dynamics and environmental drivers. Mammalian Biology, 92: 54-61. https://doi.org/10.1016/j.mambio.2018.04.006

De Araújo C.B., Marcondes-Machado L.O. & Costa G.C. (2013) The importance of biotic interactions in species distribution models: a test of the Eltonian noise hypothesis using parrots. Journal of Biogeography, 41: 513-523

Dias A., Palma L., Carvalho F., Neto D., Real J., Beja P. (2017) The role of conservative versus innovative nesting behavior on the 25‐year population expansion of an avian predator. Ecology and Evolution 7: 4241–4253. https://doi.org/10.1002/ece3.3007

Horn, J., Becher, M. A., Kennedy, P. J., Osborne, J. L. & Grimm, V. (2016) Multiple stressors: using the honeybee model BEEHAVE to explore how spatial and temporal forage stress affects colony resilience. Oikos, 125: 1001-1016. DOI:10.1111/oik.02636

Naman S.M., Rosenfeld J.S., Kiffney P.M., Richardson J.S. (in press) The energetic consequences of habitat structure for forest stream salmonids. Journal of Animal Ecology, DOI: 10.1111/1365-2656.12845

Romero D., Olivero J., Real R. & Guerrero J.C. (2019) Applying fuzzy logic to assess the biogeographical risk of dengue in South America. Parasites & Vectors, 12: 428. DOI: 10.1186/s13071-019-3691-5

Find out more

Here's a quick illustrated tutorial, also available in PDF (updated 7 May 2015); and a reference manual based on the package help files. There's also a course manual on model building with fuzzySim and model evaluation with modEvA (in Spanish)

Click here for further info on the package and its origins.

The R-Forge project summary page you can find here.