lsm_c_ed | R Documentation |

Edge Density (Area and Edge metric)

```
lsm_c_ed(landscape, count_boundary = FALSE, directions = 8)
```

`landscape` |
Raster* Layer, Stack, Brick, SpatRaster (terra), stars, or a list of rasterLayers. |

`count_boundary` |
Count landscape boundary as edge. |

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

`ED = \frac{\sum \limits_{k = 1}^{m} e_{ik}} {A} * 10000`

where `e_{ik}`

is the total edge length in meters and `A`

is the total
landscape area in square meters.

ED is an 'Area and Edge metric'. The edge density equals the sum of all edges of class i
in relation to the landscape area. The boundary of the landscape is only included in the
corresponding total class edge length if `count_boundary = TRUE`

.
The metric describes the configuration of the landscape, e.g. because an aggregation
of the same class will result in a low edge density. The metric is standardized to the
total landscape area, and therefore comparisons among landscapes with different total
areas are possible.

Meters per hectare

ED >= 0

Equals ED = 0 if only one patch is present (and the landscape boundary is not included) and increases, without limit, as the landscapes becomes more patchy

tibble

McGarigal, K., SA Cushman, and E Ene. 2012. FRAGSTATS v4: Spatial Pattern Analysis Program for Categorical and Continuous Maps. Computer software program produced by the authors at the University of Massachusetts, Amherst. Available at the following web site: https://www.umass.edu/landeco/

`lsm_c_te`

,
`lsm_l_ta`

,

`lsm_l_ed`

```
lsm_c_ed(landscape)
```

landscapemetrics documentation built on March 31, 2023, 7:28 p.m.

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.