bes_m_cushman {bespatial} | R Documentation |
Configurational entropy for landscape mosaics
Description
Calculates Cushman's configurational entropy for landscape mosaics (2015)
Usage
bes_m_cushman(x, nr_of_permutations, independent = FALSE)
Arguments
x |
SpatRaster, stars, RasterLayer, RasterStack, RasterBrick, matrix, or array containing one or more categorical rasters |
nr_of_permutations |
Number of permutations performed on each input raster to calculate possible distribution of total edge values |
independent |
Should an independent set of permutations be performed for each input raster?
|
Value
A tibble
References
Cushman, S. A. (2015). Calculating the configurational entropy of a landscape mosaic. In Landscape Ecology (Vol. 31, Issue 3, pp. 481–489). Springer Science and Business Media LLC. https://doi.org/10.1007/s10980-015-0305-2
Examples
library(terra)
library(bespatial)
mosaic = rast(system.file("raster/mosaic.tif", package = "bespatial"))
ce1 = bes_m_cushman(mosaic, 1000)
plot(mosaic, main = round(ce1$value, 2))
bes_m_cushman(mosaic, 1000, independent = TRUE)
[Package bespatial version 0.1.2 Index]