View source: R/lsm_c_area_mn.R
lsm_c_area_mn | R Documentation |
Mean of patch area (Area and edge metric)
lsm_c_area_mn(landscape, directions = 8)
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). |
AREA_{MN} = mean(AREA[patch_{ij}])
where AREA[patch_{ij}]
is the area of each patch in hectares
AREA_MN is an 'Area and Edge metric'. The metric summarises each class
as the mean of all patch areas belonging to class i. The metric is a simple way
to describe the composition of the landscape. Especially together with the total
class area (lsm_c_ca
), it can also give an an idea of patch structure
(e.g. many small patches vs. few larges patches).
Because the metric is based on distances or areas please make sure your data
is valid using check_landscape
.
Hectares
AREA_MN > 0
Approaches AREA_MN = 0 if all patches are small. Increases, without limit, as the patch areas increase.
tibble
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
lsm_p_area
,
mean
,
lsm_c_area_cv
,
lsm_c_area_sd
,
lsm_l_area_mn
,
lsm_l_area_sd
,
lsm_l_area_cv
landscape <- terra::rast(landscapemetrics::landscape)
lsm_c_area_mn(landscape)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.