Skip to contents

Total edge (Area and Edge metric)

Usage

lsm_l_te(landscape, count_boundary = FALSE)

Arguments

landscape

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

count_boundary

Include landscape boundary in edge length

Value

tibble

Details

$$TE = \sum \limits_{k = 1}^{m} e_{ik}$$ where \(e_{ik}\) is the edge lengths in meters. TE is an 'Area and edge metric'. Total edge includes all edges. It measures the configuration of the landscape because a highly fragmented landscape will have many edges. However, total edge is an absolute measure, making comparisons among landscapes with different total areas difficult. If count_boundary = TRUE also edges to the landscape boundary are included.

Units

Meters

Range

TE >= 0

Behaviour

Equals TE = 0 if all cells are edge cells. Increases, without limit, as landscape becomes more fragmented

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_p_perim lsm_l_te

Examples

landscape <- terra::rast(landscapemetrics::landscape)
lsm_l_te(landscape)
#> # A tibble: 1 × 6
#>   layer level     class    id metric value
#>   <int> <chr>     <int> <int> <chr>  <dbl>
#> 1     1 landscape    NA    NA te       340