lsm_p_area | R Documentation |

Patch area (Area and edge metric)

```
lsm_p_area(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 = 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.

Hectares

AREA > 0

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

```
landscape <- terra::rast(landscapemetrics::landscape)
lsm_p_area(landscape)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.