computes alpha diversity metrics from SSD
get_alpha_from_SSD(
SSD,
nbPix_Sunlit,
alphametrics = "shannon",
pcelim = 0.02,
Hill_order = 1
)
Arguments
- SSD
numeric. spectral species distribution
- nbPix_Sunlit
numeric.
- alphametrics
list. alpha diversity metrics: richness, shannon, simpson
- pcelim
numeric. minimum proportion of pixels to consider spectral species
- Hill_order
numeric. Hill order
Value
Shannon index correspnding to the distribution