Learn R Programming

ecospat (version 4.1.3)

Spatial Ecology Miscellaneous Methods

Description

Collection of R functions and data sets for the support of spatial ecology analyses with a focus on pre, core and post modelling analyses of species distribution, niche quantification and community assembly. Written by current and former members and collaborators of the ecospat group of Antoine Guisan, Department of Ecology and Evolution (DEE) and Institute of Earth Surface Dynamics (IDYST), University of Lausanne, Switzerland. Read Di Cola et al. (2016) for details.

Copy Link

Version

Install

install.packages('ecospat')

Monthly Downloads

3,604

Version

4.1.3

License

GPL

Maintainer

Olivier Broennimann

Last Published

January 23rd, 2026

Functions in ecospat (4.1.3)

ecospat.ESM.threshold

Thresholds for Ensemble of Small Models
ecospat.boyce

Calculate Boyce Index
ecospat.cons_Cscore

Constrained Co-Occurrence Analysis.
ecospat.cv.glm

GLM Cross Validation
ecospat.cohen.kappa

Cohen's Kappa
ecospat.climan

A climate analogy setection tool for the modeling of species distributions
ecospat.caleval

Calibration And Evaluation Dataset
ecospat.cor.plot

Correlation Plot
ecospat.cv.gbm

GBM Cross Validation
ecospat.cv.me

Maxent Cross Validation
ecospat.calculate.pd

Calculate Phylogenetic Diversity Measures
ecospat.co_occurrences

Species Co-Occurrences
ecospat.mantel.correlogram

Mantel Correlogram
ecospat.mdr

Minimum Dispersal Routes)
ecospat.max.kappa

Maximum Kappa
ecospat.cv.rf

RandomForest Cross Validation
ecospat.grid.clim.dyn

Dynamic Occurrence Densities Grid
ecospat.maxentvarimport

Maxent Variable Importance
ecospat.max.tss

Maximum TSS
ecospat.mess

MESS
ecospat.margin

Delineation of the distribution's margin and its uncertainty
ecospat.meva.table

Model Evaluation For A Given Threshold Value
ecospat.mpa

Minimal Predicted Area
ecospat.niche.zProjGeo

Projection of Occurrence Densities to the Geography
ecospat.nicheNBmean

Niche position and niche breadth)
ecospat.npred

Number Of Predictors
ecospat.niche.dynIndexProjGeo

Projection of niche dynamic indices to the Geography
ecospat.niche.equivalency.test

Niche Equivalency Test
ecospat.niche.overlap

Calculate Niche Overlap
ecospat.nichePOSNB

Niche position and niche breadth)
ecospat.niche.dyn.index

Niche Pioneering, Expansion, Stability, Unfilling and Abandonment
ecospat.niche.similarity.test

Niche Similarity Test
ecospat.plot.kappa

Plot Kappa
ecospat.plot.contrib

Plot Variables Contribution
ecospat.permut.glm

GLM Permutation Function
ecospat.plot.niche

Plot Niche
ecospat.plot.overlap.test

Plot Overlap Test
ecospat.plot.tss

Plot True skill statistic (TSS)
ecospat.occ.desaggregation

Species Occurrences Desaggregation
ecospat.plot.mess

Plot MESS
ecospat.plot.niche.dyn

Plot of categories of Niche dynamics and Species Density
ecospat.occupied.patch

Extract occupied patches of a species in geographic space.)
ecospat.recstrat_regl

Random Ecologically Stratified Sampling of equal numbers
ecospat.rangesize

Quantification of the range size of a species using habitat suitability maps and IUCN criteria)
ecospat.sample.envar

Sample Environmental Variables
ecospat.poolingEvaluation

Evaluation of species distribution models using the pooling procedure
ecospat.recstrat_prop

Random Ecologically Stratified Sampling of propotional numbers
ecospat.shift.centroids

Draw Centroid Arrows
ecospat.testData

Test Data For The Ecospat package
ecospat.rand.pseudoabsences

Sample Pseudo-Absences
ecospat.rcls.grd

Reclassifying grids function
ecospat.testEnv

Test Environmental SpatRasters for The Ecospat package
ecospat.testMdr

Test Data For The ecospat.mdr function
ecospat.varpart

Variation Partitioning For GLM Or GAM
ecospat.testNichePOSNB

Test AVS Dataset For The Ecospat package
ecospat.testTree

Test Tree For The Ecospat package
ecospat.testNiche.nat

Test Data For The Niche Dynamics Analysis In The Native Range Of A Hypothetical Species
ecospat.testNiche

Test Data For The Niche Overlap Analysis
ecospat.testNiche.inv

Test Data For The Niche Dynamics Analysis In The Invaded Range Of A Hypothetical Species
ecospat.ESM.EnsembleProjection

Ensemble of Small Models: Projects Calibrated ESMs Into New Space Or Time.
ecospat.CCV.modeling

Runs indivudual species distribuion models with SDMs or ESMs
ecospat.CCV.communityEvaluation.prob

Evaluates community predictions directly on the probabilities (i.e., threshold independent)
ecospat.Cscore

Pairwise co-occurrence Analysis with calculation of the C-score index.
ecospat.ESM.EnsembleModeling

Ensemble of Small Models: Evaluates and Averages Simple Bivariate Models To ESMs
ecospat-package

Spatial Ecology Miscellaneous Methods
ecospat.CommunityEval

Community Evaluation
ecospat.CCV.createDataSplitTable

Creates a DataSplitTable for usage in ecospat.ccv.modeling.
ecospat.CCV.communityEvaluation.bin

Calculates a range of community evaluation metrics based on different thresholding techniques.
ecospat.ESM.EnsembleEvaluation

Ensemble of Small Models: Evaluation via the Pooling procedure
ecospat.Epred

Prediction Mean
ecospat.ESM.Modeling

Ensemble of Small Models: Calibration of Simple Bivariate Models
ecospat.SESAM.prr

SESAM Probability Ranking Rule
ecospat.ESM.responsePlot

Produce response plots for ESMs
ecospat.binary.model

Generate Binary Models
ecospat.ESM.Projection

Ensemble of Small Models: Projects Simple Bivariate Models Into New Space Or Time
ecospat.adj.D2.glm

Calculate An Adjusted D2
ecospat.ESM.VarContrib

Variable contribution in ESM