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

Description Usage Arguments Value Examples

View source: R/raster.overlap.R

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

1
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

1
2
3
4
5
6
7
data(iberolacerta)
data(euro.worldclim)
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)

danlwarren/ENMTools documentation built on Sept. 9, 2018, 4:23 p.m.