Compute niche equivalency for two species following Warren et al. (2009). The statistic ranges from 0 to 1.
nicheEquivalency(sp1, sp2, predictors, n=99, model=maxent, verbose=TRUE, ...)
numeric
coordinates for species 1 (matrix with (x, y) or (lon, lat), or SpatialPoints)
coordinates for species 2 (matrix with (x, y) or (lon, lat), or SpatialPoints)
Raster object with environmental variables
integer. Number of randomizations
function. modeling algorithm to me used
logical. If TRUE
some progress indicators are printed
additional arguments (none)
Brian Anacker. Based on a similar function in by Christoph Heibl in the phyloclim package
Warren, D.L., R.E. Glor, M. Turelli, 2008. Environmental niche equivalency versus conservatism: quantitative approaches to niche evolution. Evolution 62:2868-2883.