Joint entropy \[H(x, y)\]
lsm_l_joinent(landscape, neighbourhood, ordered, base)# S3 method for RasterLayer
lsm_l_joinent(landscape, neighbourhood = 4, ordered = TRUE, base = "log2")
# S3 method for RasterStack
lsm_l_joinent(landscape, neighbourhood = 4, ordered = TRUE, base = "log2")
# S3 method for RasterBrick
lsm_l_joinent(landscape, neighbourhood = 4, ordered = TRUE, base = "log2")
# S3 method for stars
lsm_l_joinent(landscape, neighbourhood = 4, ordered = TRUE, base = "log2")
# S3 method for list
lsm_l_joinent(landscape, neighbourhood = 4, ordered = TRUE, base = "log2")
Raster* Layer, Stack, Brick or a list of rasterLayers.
The number of directions in which cell adjacencies are considered as neighbours: 4 (rook's case) or 8 (queen's case). The default is 4.
The type of pairs considered. Either ordered (TRUE) or unordered (FALSE). The default is TRUE.
The unit in which entropy is measured. The default is "log2", which compute entropy in "bits". "log" and "log10" can be also used.
tibble
Complexity of a landscape pattern. An overall spatio-thematic complexity metric.
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
# NOT RUN {
lsm_l_joinent(landscape)
# }
Run the code above in your browser using DataLab