# lsm_p_gyrate: GYRATE (patch level) In r-spatialecology/landscapemetrics: Landscape Metrics for Categorical Map Patterns

## Description

Radius of Gyration (Area and edge metric)

## Usage

  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 lsm_p_gyrate(landscape, directions) ## S3 method for class 'RasterLayer' lsm_p_gyrate(landscape, directions = 8) ## S3 method for class 'RasterStack' lsm_p_gyrate(landscape, directions = 8) ## S3 method for class 'RasterBrick' lsm_p_gyrate(landscape, directions = 8) ## S3 method for class 'stars' lsm_p_gyrate(landscape, directions = 8) ## S3 method for class 'list' lsm_p_gyrate(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).

## Details

GYRATE = ∑ \limits_{r = 1}^{z} \frac{h_{ijr}} {z}

where h_{ijr} is the distance from each cell to the centroid of the patch and z is the number of cells.

GYRATE is an 'Area and edge metric'. The distance from each cell to the patch centroid is based on cell center-to-cell center distances. The metrics characterises both the patch area and compactness.

Meters

GYRATE >= 0

#### Behaviour

Approaches GYRATE = 0 if patch is a single cell. Increases, without limit, when only one patch is present.

tibble

## 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

Keitt, T. H., Urban, D. L., & Milne, B. T. 1997. Detecting critical scales in fragmented landscapes. Conservation ecology, 1(1).

lsm_c_gyrate_mn, lsm_c_gyrate_sd, lsm_c_gyrate_cv,
lsm_l_gyrate_mn, lsm_l_gyrate_sd, lsm_l_gyrate_cv
 1 lsm_p_gyrate(landscape)