View source: R/lsm_l_area_cv.R
lsm_l_area_cv | R Documentation |
Coefficient of variation of patch area (Area and edge metric)
lsm_l_area_cv(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_{CV} = cv(AREA[patch_{ij}])
where AREA[patch_{ij}]
is the area of each patch in hectares.
AREA_CV is an 'Area and Edge metric'. The metric summarises the landscape as the Coefficient of variation of all patches in the landscape. The metric describes the differences among patches in the landscape and is easily comparable because it is scaled to the mean.
Because the metric is based on distances or areas please make sure your data
is valid using check_landscape
.
Hectares
AREA_CV >= 0
Equals AREA_CV = 0 if all patches are identical in size. Increases, without limit, as the variation of patch areas increases.
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
,
lsm_c_area_mn
,
lsm_c_area_sd
,
lsm_c_area_cv
,
lsm_l_area_mn
,
lsm_l_area_sd
landscape <- terra::rast(landscapemetrics::landscape)
lsm_l_area_cv(landscape)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.