Description Usage Arguments Details Value References See Also Examples

Shannon's diversity index (Diversity metric)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ```
lsm_l_shdi(landscape)
## S3 method for class 'RasterLayer'
lsm_l_shdi(landscape)
## S3 method for class 'RasterStack'
lsm_l_shdi(landscape)
## S3 method for class 'RasterBrick'
lsm_l_shdi(landscape)
## S3 method for class 'stars'
lsm_l_shdi(landscape)
## S3 method for class 'list'
lsm_l_shdi(landscape)
``` |

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

*SHDI = - ∑ \limits_{i = 1}^{m} (P_{i} * \ln P_{i})*

where *P_{i}* is the proportion of class i.

SHDI is a 'Diversity metric'. It is a widely used metric in biodiversity and ecology and takes both the number of classes and the abundance of each class into account.

None

SHDI >= 0

Equals SHDI = 0 when only one patch is present and increases, without limit, as the number of classes increases while the proportions are equally distributed

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: http://www.umass.edu/landeco/research/fragstats/fragstats.html

Shannon, C., and W. Weaver. 1949. The mathematical theory of communication. Univ. IllinoisPress, Urbana

1 |

r-spatialecology/landscapemetrics documentation built on May 20, 2019, noon

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.