Learn R Programming

landscapemetrics (version 1.1)

lsm_l_mutinf: MUTINF (landscape level)

Description

Mutual information

Usage

lsm_l_mutinf(landscape, neighbourhood, ordered, base)

# S3 method for RasterLayer lsm_l_mutinf(landscape, neighbourhood = 4, ordered = TRUE, base = "log2")

# S3 method for RasterStack lsm_l_mutinf(landscape, neighbourhood = 4, ordered = TRUE, base = "log2")

# S3 method for RasterBrick lsm_l_mutinf(landscape, neighbourhood = 4, ordered = TRUE, base = "log2")

# S3 method for stars lsm_l_mutinf(landscape, neighbourhood = 4, ordered = TRUE, base = "log2")

# S3 method for list lsm_l_mutinf(landscape, neighbourhood = 4, ordered = TRUE, base = "log2")

Arguments

landscape

Raster* Layer, Stack, Brick or a list of rasterLayers.

neighbourhood

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.

ordered

The type of pairs considered. Either ordered (TRUE) or unordered (FALSE). The default is TRUE.

base

The unit in which entropy is measured. The default is "log2", which compute entropy in "bits". "log" and "log10" can be also used.

Value

tibble

Details

It disambiguates landscape pattern types characterize by the same value of an overall complexity (lsm_l_joinent).

References

Nowosad J., TF Stepinski. 2018. Information-theoretical approach to measure landscape complexity. https://doi.org/10.1101/383281

See Also

lsm_l_ent, lsm_l_condent, lsm_l_joinent,

Examples

Run this code
# NOT RUN {
lsm_l_mutinf(landscape)

# }

Run the code above in your browser using DataLab