raster.breadth {ENMTools} | R Documentation |
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)
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.
Value
results A vector containing the two metrics B1 and B2 for niche breadth.
Examples
aurelioi.glm <- enmtools.glm(iberolacerta.clade$species$aurelioi, euro.worldclim,
f = pres ~ bio1 + bio12)
raster.breadth(aurelioi.glm)
[Package ENMTools version 1.1.2 Index]