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

View source: R/raster.breadth.R

raster.breadthR 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)

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