landscapemetrics (version 1.4.4)

lsm_p_circle: CIRCLE (patch level)

Description

Related Circumscribing Circle (Shape metric)

Usage

lsm_p_circle(landscape, directions)

# S3 method for RasterLayer lsm_p_circle(landscape, directions = 8)

# S3 method for RasterStack lsm_p_circle(landscape, directions = 8)

# S3 method for RasterBrick lsm_p_circle(landscape, directions = 8)

# S3 method for stars lsm_p_circle(landscape, directions = 8)

# S3 method for list lsm_p_circle(landscape, directions = 8)

Arguments

landscape

Raster* Layer, Stack, Brick or a list of rasterLayers.

directions

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

Value

tibble

Details

$$CIRCLE = 1 - (\frac{a_{ij}} {a_{ij}^{circle}})$$ where \(a_{ij}\) is the area in square meters and \(a_{ij}^{circle}\) the area of the smallest circumscribing circle.

CIRCLE is a 'Shape metric'. The metric is the ratio between the patch area and the smallest circumscribing circle of the patch. The diameter of the smallest circumscribing circle is the 'diameter' of the patch connecting the opposing corner points of the two cells that are the furthest away from each other. The metric characterises the compactness of the patch and is comparable among patches with different area.

Units

None

Range

0 <= CIRCLE < 1

Behaviour

CIRCLE = 0 for a circular patch and approaches CIRCLE = 1 for a linear patch.

References

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

Baker, W. L., and Y. Cai. 1992. The r.le programs for multiscale analysis of landscape structure using the GRASS geographical information system. Landscape Ecology 7: 291-302.

Based on C++ code from Project Nayuki (https://www.nayuki.io/page/smallest-enclosing-circle).

See Also

lsm_p_area, lsm_c_circle_mn, lsm_c_circle_sd, lsm_c_circle_cv, lsm_l_circle_mn, lsm_l_circle_sd, lsm_l_circle_cv

Examples

Run this code
# NOT RUN {
lsm_p_circle(landscape)

# }

Run the code above in your browser using DataLab