Learn R Programming

landscapemetrics (version 2.1.4)

lsm_p_area: AREA (patch level)

Description

Patch area (Area and edge metric)

Usage

lsm_p_area(landscape, directions = 8)

Value

tibble

Arguments

landscape

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

directions

The number of directions in which patches should be connected: 4 (rook's case) or 8 (queen's case).

Details

$$AREA = a_{ij} * (\frac{1} {10000})$$ where \(a_{ij}\) is the area in square meters.

AREA is an 'Area and edge metric' and equals the area of each patch in hectares. The lower limit of AREA is limited by the resolution of the input raster, i.e. AREA can't be smaller than the resolution squared (in hectares). It is one of the most basic, but also most important metrics, to characterise a landscape. The metric is the simplest measure of composition.

Because the metric is based on distances or areas please make sure your data is valid using check_landscape.

Units

Hectares

Range

AREA > 0

Behaviour

Increases, without limit, as the patch size 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

See Also

lsm_c_area_mn, lsm_c_area_sd, lsm_c_area_cv, lsm_c_ca,
lsm_l_area_mn, lsm_l_area_sd, lsm_l_area_cv, lsm_l_ta

Examples

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

Run the code above in your browser using DataLab