raster.overlap: raster.overlap, measures overlap between two ENMs

View source: R/raster.overlap.R

raster.overlapR Documentation

raster.overlap, measures overlap between two ENMs

Description

This function measures similarity in the geographic distribution of suitability scores from two ENMs. It returns two metrics, I and D. These metrics are described in Warren et al. 2008.

Usage

raster.overlap(x, y, verbose = FALSE)

Arguments

x

A raster or RasterLayer object, or ENMTools model object containing a suitability raster.

y

Another raster or RasterLayer object, or ENMTools model object containing a suitability raster.

verbose

Controls printing of diagnostic messages

Value

results A vector containing the three metrics (I, D, and Spearman rank correlation)

Examples

aurelioi.glm <- enmtools.glm(iberolacerta.clade$species$aurelioi,
euro.worldclim, f = pres ~ bio1 + bio12)
aranica.glm <- enmtools.glm(iberolacerta.clade$species$aranica,
euro.worldclim, f = pres ~ bio1 + bio12)
raster.overlap(aurelioi.glm, aranica.glm)

ENMTools documentation built on April 11, 2023, 6:09 p.m.