Learn R Programming

ENMTools (version 1.1.2)

raster.overlap: 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)

Value

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

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

Examples

Run this code
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)

Run the code above in your browser using DataLab