Calculate 5 information theory landscape metrics
calculate_it_metrics.Rd
This function allow to calculate 5 information theory landscape metrics
Note
This is a wrapper of the function "sample_lsm" from the landscapemetrics package (see References)
References
Hesselbarth, M.H.K., Sciaini, M., With, K.A., Wiegand, K., Nowosad, J. 2019. landscapemetrics: an open‐source R tool to calculate landscape metrics. Ecography, 42: 1648-1657 (v2.1.4).
Nowosad J., TF Stepinski. 2019. Information theory as a consistent framework for quantification and classification of landscape patterns. https://doi.org/10.1007/s10980-019-00830-x
Information theory-based framework for the analysis of landscape patterns
Examples
if (FALSE) { # \dontrun{
library(sf)
library(terra)
library(exactextractr)
clc <- rast(system.file('sao_miguel/clc2018_v2020_20u1.tif',
package = 'exactextractr'))
bbox <- st_bbox(clc) |>
st_as_sfc() |>
st_as_sf()
h3_bbox <- get_h3_grid(bbox, resolution = 6)
result_sf <- calculate_it_metrics(clc, h3_bbox)
} # }