lsm_l_condent: Conditional entropy (landscape level)

Description Usage Arguments Details Value References See Also Examples

View source: R/lsm_l_condent.R

Description

Conditional entropy \[H(y|x)\]

Usage

1
lsm_l_condent(landscape, neighbourhood = 4, ordered = TRUE, base = "log2")

Arguments

landscape

Raster* Layer, Stack, Brick, SpatRaster (terra), stars, 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.

Details

Complexity of a landscape pattern configuration. It measures a only a geometric intricacy (configurational complexity) of a landscape pattern.

Value

tibble

References

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

See Also

lsm_l_ent, lsm_l_mutinf, lsm_l_joinent, lsm_l_relmutinf

Examples

1

landscapemetrics documentation built on Sept. 17, 2020, 5:06 p.m.