Learn R Programming

ENMTools (version 1.1.2)

raster.breadth: raster.breadth, applies measures of niche breadth to an ENM

Description

This function measures the spatial heterogeneity of the distribution of suitability scores from an ENM. It returns Levins' (1968) two metrics of niche breadth.

Usage

raster.breadth(x, verbose = FALSE)

Value

results A vector containing the two metrics B1 and B2 for niche breadth.

Arguments

x

An object of class raster or RasterLayer, or an ENMTools model object containing a suitability raster.

verbose

Controls printing of diagnostic messages

Details

Levins, R. 1968. Evolution in changing environments: some theoretical explorations. Princeton University Press.

Examples

Run this code
aurelioi.glm <- enmtools.glm(iberolacerta.clade$species$aurelioi, euro.worldclim,
f = pres ~ bio1 + bio12)
raster.breadth(aurelioi.glm)

Run the code above in your browser using DataLab