# lsm_c_lsi: LSI (class level) In r-spatialecology/landscapemetrics: Landscape Metrics for Categorical Map Patterns

## Description

Landscape shape index (Aggregation metric)

## Usage

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

LSI = \frac{e_{i}} {\min e_{i}}

where e_{i} is the total edge length in cell surfaces and \min e_{i} is the minimum total edge length in cell surfaces

LSI is an 'Aggregation metric'. It is the ratio between the actual edge length of class i and the hypothetical minimum edge length of class i. The minimum edge length equals the edge length if class i would be maximally aggregated.

None

LSI >= 1

#### Behaviour

Equals LSI = 1 when only one squared patch is present or all patches are maximally aggregated. Increases, without limit, as the length of the actual edges increases, i.e. the patches become less compact.

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

Patton, D. R. 1975. A diversity index for quantifying habitat "edge". Wildl. Soc.Bull. 3:171-173.

lsm_p_shape,
lsm_l_lsi
 1 lsm_c_lsi(landscape)