computes alpha diversity metrics from ssd

get_alpha_from_ssd(
  ssd,
  nb_pix_sunlit,
  alphametrics = "shannon",
  pcelim = 0.02,
  hill_order = 1
)

Arguments

ssd

numeric. spectral species distribution

nb_pix_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