Edge Density (Area and Edge metric)
lsm_l_ed(landscape, count_boundary, directions)# S3 method for RasterLayer
lsm_l_ed(landscape, count_boundary = FALSE, directions = 8)
# S3 method for RasterStack
lsm_l_ed(landscape, count_boundary = FALSE, directions = 8)
# S3 method for RasterBrick
lsm_l_ed(landscape, count_boundary = FALSE, directions = 8)
# S3 method for stars
lsm_l_ed(landscape, count_boundary = FALSE, directions = 8)
# S3 method for list
lsm_l_ed(landscape, count_boundary = FALSE, directions = 8)
Raster* Layer, Stack, Brick or a list of rasterLayers.
Count landscape boundary as edge
The number of directions in which patches should be connected: 4 (rook's case) or 8 (queen's case).
tibble
$$ED = \frac{E} {A} * 10000$$ where \(E\) is the total landscape edge in meters and \(A\) is the total landscape area in square meters.
ED is an 'Area and Edge metric'. The edge density equals all edges in the landscape
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 overall aggregation
of classes 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.
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: http://www.umass.edu/landeco/research/fragstats/fragstats.html
# NOT RUN {
lsm_l_ed(landscape)
# }
Run the code above in your browser using DataLab