Learn R Programming

landscapemetrics (version 2.1.4)

lsm_l_pr: PR (landscape level)

Description

Patch richness (Diversity metric)

Usage

lsm_l_pr(landscape)

Value

tibble

Arguments

landscape

A categorical raster object: SpatRaster; Raster* Layer, Stack, Brick; stars or a list of SpatRasters.

Details

$$PR = m$$ where \(m\) is the number of classes

PR is a 'Diversity metric'. It is one of the simplest diversity and composition measures. However, because of its absolute nature, it is not comparable among landscapes with different total areas.

Units

None

Range

PR >= 1

Behaviour

Equals PR = 1 when only one patch is present and increases, without limit, as the number of classes increases

References

McGarigal K., SA Cushman, and E Ene. 2023. FRAGSTATS v4: Spatial Pattern Analysis Program for Categorical Maps. Computer software program produced by the authors; available at the following web site: https://www.fragstats.org

Examples

Run this code
landscape <- terra::rast(landscapemetrics::landscape)
lsm_l_pr(landscape)

Run the code above in your browser using DataLab